Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
edit-screenshot.png
edit.css
edit.js
edit.php
edit.woff
extension.ini

README.md

Edit 0.8.3

Edit your website in a web browser. See demo.

Screenshot

How to install extension

  1. Download and install Datenstrom Yellow.
  2. Download extension. If you are using Safari, right click and select 'Download file as'.
  3. Copy edit.zip into your system/extensions folder.

To uninstall delete the extension files.

How to edit a website

The login page is available on your website as http://website/edit/. Log in with your user account. You can browse your website, make some changes and see the result immediately. It's a great way to update your website. To show an edit link add an [edit] shortcut to a page. See example below.

How to create a user account

The first option is to create a user account in a web browser. Go to the login page. You can create a user account and change your password. The webmaster needs to approve new user accounts. The webmaster's email is defined in file system/settings/system.ini.

The second option is to create a user account at the command line. Open a terminal window. Go to your installation folder, where the yellow.php is. Type php yellow.php user add followed by email, password and an optional name. All user accounts are stored in file system/settings/user.ini. See example below.

How to configure a website

The following settings can be configured in file system/settings/system.ini:

Author = name of the webmaster
Email = email of the webmaster
SafeMode = enable safe mode with restrictions, 1 or 0
EditLocation = login page location
EditUploadNewLocation = location for new media file
EditUploadExtensions = file extensions for upload, none to disable
EditKeyboardShortcuts = keyboard shortcuts and commands
EditToolbarButtons = toolbar buttons, none to disable
EditEndOfLine = line endings, e.g. auto, lf, crlf
EditLoginRestriction = enable login restriction, 1 or 0
EditLoginSessionTimeout = login session in seconds
EditBruteForceProtection = number of failed login attempts

Example

Content file with edit link:

---
Title: Home
---
Your website works! 

[edit - You can edit this page] or use your text editor.  

Configuring different toolbar buttons:

EditToolbarButtons: auto 
EditToolbarButtons: preview, format, bold, italic, code, list, link, file, undo, redo, markdown
EditToolbarButtons: preview, bold, italic, h1, h2, h3, code, quote, ul, ol, link, file, markdown
EditToolbarButtons: preview, format, bold, italic, separator, quote, code, link, file, separator, emojiawesome

Creating a user account at the command line:

php yellow.php user add email@example.com password
php yellow.php user change email@example.com password
php yellow.php user remove email@example.com

Developer

Datenstrom. Get support.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.