Skip to content
Editor is a web based template editor for craft CMS
JavaScript CSS PHP Shell Other LiveScript
Latest commit b25549e Feb 11, 2014 @lukeholder fixed release link
Failed to load latest commit information.
plugins/editor tagged and updated version Feb 11, 2014
.gitignore improve Jun 4, 2013
README.md fixed release link Feb 11, 2014

README.md

Template Editor for Craft CMS (Alpha)

Editor is a web based template editor for craft CMS.

Download editor.zip here on the releases page. Only download the repo if you are a developer and know how to use composer.

Please use this at your own risk, is it works at file system level, I cannot guarentee that you will not lose template files. Please backup your templates before use.

I reserve the right to release this a paid plugin when the features and quality improve.

Screenshot

Features

  • Uses the very powerful ACE editor.
  • Remembers the file tree of your templates and where you last expanded the tree to.
  • Binding of Command+S to save the file.
  • Atomic file replacement when saving.
  • Twig tag to link directly from you front end website to the editor
  • Twig syntax highlighting!

Usage

After installation you can simply place this in your twig templates:

{% if user and user.admin %}
<a href="{{ craft.editor.templateLink(_self) }}">Edit this Template</a>
{% endif %}

You need to place the above in the actual files you wish to have a link to. If you only place the above link in the layout you will only get a link to your layout.

Coming Soon

  • Template versioning.
  • Push template to production site
  • Tabbed editor

Installation

Place editor folder found here within the plugins/ folder to your craft/plugins folder.

Other

Copyright 2013 Luke Holder

Something went wrong with that request. Please try again.