GetSimple Support Forum

Full Version: Live Editor Plugin - v1.1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Live Editor Plugin - v1.1
Click Here To Download
View GitHub Repos.

NOTE!: I cannot add this file to extend, because the filesize is too big. For now it will be hosted on my personal website.

Outline Of Plugin:
  • While logged in to backend, users could edit the pages from the front-end of the website.
  • Meta tags can also be edited from front end

Screenshots

[Image: 1.jpg]
--

[Image: 2.jpg]
--

[Image: 3.jpg]
--


Changes:
Version 1.1
  • Added ability to edit page title, menu status, menu order and page parent
  • Fixed "Placeholder" bug where the placeholders are replaced with their content when editing a page
  • The "pages.xml" file is now recreated upon saving a page


This plugin is a work in progress. It is at a very basic stage right now and will grow substantially with use feedback and suggestions. Please let me know any suggestions or feature requests you might have.
You sir are a machine.
shawn_a Wrote:You sir are a machine.

Smile I have had this plugin for a while, but did not release it because the lack of an image browser.
But I am close to having the image browser done as well.
Very nice Mike!

The only catch I've found is: if you are using a placeholder like (% search ... %) it is replaced by the generated html code if you edit the page. (only tested with I18N Search)

It would be nice to be able to edit the title (inline or in the meta/desc box)... or else let the user go to the GS page editor to change it.
Carlos Wrote:Very nice Mike!

The only catch I've found is: if you are using a placeholder like (% search ... %) it is replaced by the generated html code if you edit the page. (only tested with I18N Search)

It would be nice to be able to edit the title (inline or in the meta/desc box)... or else let the user go to the GS page editor to change it.

I will add all the above features today and fix the placeholder.
Version 1.1 Released
  • Added ability to edit page title, menu status, menu order and page parent
  • Fixed "Placeholder" bug where the placeholders are replaced with their content when editing a page
  • The "pages.xml" file is now recreated upon saving a page
Thanks for filling my feature request! This fits the "Simple" ethos perfectly.
Btw. looks like Aloha is transitioning from ExtJS to jQuery UI.

Does anyone know where we could get a minified version of aloha.js that works? I tried minifying it with http://jscompress.com/ but it resulted in errors.

And with http://closure-compiler.appspot.com/home it didn't compile and gave these:

Quote:JSC_TRAILING_COMMA: Parse error. Internet Explorer has a non-standard intepretation of trailing commas. Arrays will have the wrong length and objects will not parse at all. at line 79216 character 1
] ).forEach(function(command) {
^
JSC_TRAILING_COMMA: Parse error. Internet Explorer has a non-standard intepretation of trailing commas. Arrays will have the wrong length and objects will not parse at all. at line 88971 character 1
],
^

speak.js in aloha\plugins\extra\speak\lib would of course need to be minified..
Beluga Wrote:Thanks for filling my feature request! This fits the "Simple" ethos perfectly.
Btw. looks like Aloha is transitioning from ExtJS to jQuery UI.

Does anyone know where we could get a minified version of aloha.js that works? I tried minifying it with http://jscompress.com/ but it resulted in errors.

And with http://closure-compiler.appspot.com/home it didn't compile and gave these:

Quote:JSC_TRAILING_COMMA: Parse error. Internet Explorer has a non-standard intepretation of trailing commas. Arrays will have the wrong length and objects will not parse at all. at line 79216 character 1
] ).forEach(function(command) {
^
JSC_TRAILING_COMMA: Parse error. Internet Explorer has a non-standard intepretation of trailing commas. Arrays will have the wrong length and objects will not parse at all. at line 88971 character 1
],
^

speak.js in aloha\plugins\extra\speak\lib would of course need to be minified..
I could not minify it myself either. I will keep trying.
It seems they sometimes minify the releases, sometimes not: https://github.com/alohaeditor/Aloha-Edi...conference
Quote:21.12.2011
Johannes

currently preparing an Aloha Editor release which will feature Aloha minified again!
Beluga Wrote:It seems they sometimes minify the releases, sometimes not: https://github.com/alohaeditor/Aloha-Edi...conference
Quote:21.12.2011
Johannes

currently preparing an Aloha Editor release which will feature Aloha minified again!
Well then I will await the new release.
Their GetSatisfaction page has this answer:

Quote:Rene Kapusta (Employee) 26 days ago
Hi!

We're working on a minified version, but I can't tell you exactly when it's available.

Further more Aloha Editor is switching to jQuery UI instead of the currently used extJS framework -- this will reduce the file size further
I am still unable to upload this plugin to extend.
The download link is now fixed.
PageSpeed Insights for Chrome (integrates Closure Compiler) minified the aloha.js file on aloha-editor.org from 1.6 MB down to 929 KB, it seems with no trouble. In fact, they could knock more than 1 MB off their 2.2 MB homepage.

Attached is the aloha.js file from your GitHub repos minified.
sal Wrote:PageSpeed Insights for Chrome (integrates Closure Compiler) minified the aloha.js file on aloha-editor.org from 1.6 MB down to 929 KB, it seems with no trouble. In fact, they could knock more than 1 MB off their 2.2 MB homepage.

Attached is the aloha.js file from your GitHub repos minified.

Awesome, thanks for the update. Unfortunately since I am unable to upload this to the extend I am very discouraged with this plugin. I will continue work on it when the Get Simple extend's upload size has been increased.
what is the upload limit ?
I doubt minifying will help its already zipped up.

But...

There is a
1.2 mb ext-all-debug.js file
a 500k background image
a bunch of psds
several versions of jquery
that can maybe be removed.
Good news: http://aloha-editor.org/blog/2012/07/alo...and-gplv2/
Quote:We will release Aloha Editor version 0.21.0 with Query UI Thursday July 26th 2012.
Due to the migration to jQuery UI and other optimizations we could reduce the size of Aloha Editor significantly. With the ExtJS dependency and due to bad maintained build system we distributed insane sizes of the script with over 2MB in weight.

Now you can have Aloha Editor bare version without jquery, require and plugins minified and gzipped for 64k (unzipped 236k). If you want to build a package with all plugins (even the repository browser and other great plugins), jquery and require you can have a full featured gzipped package for about 230k (unzipped 792k).
Hi,

How is it going with this project?

I noticed that after I log out I still have some elements from the plugin on the front page. See attached image.
Maybe use Aloha editor or Hallo editor with the help of CreateJS instead?

http://createjs.org/

EDIT: Corrected URL to http://createjs.org/
(2014-03-08, 00:15:18)vulmer Wrote: [ rel="nofollow" -> ]Maybe use Aloha editor or Hallo editor with the help of CreateJS instead?

http://createjs.org/

EDIT: Corrected URL to http://createjs.org/

wow... awesome.. can someone integrate it ? with live editor plugin ?
figure out how to use this on the original source and ill look at it. If its smart there is a way to swap out the edit with the original source, with a cms you are never editing raw content, there are filters and tokens which are obviously an issue

ckeditor 4 also has this capabilty