Works nicely, makes editing right on the page easy (like SquareSpace.) The ability to auto-save as a draft and see it in the context of the page as you edit makes editing faster, easier, and more user-friendly.
It would be nice to make it a conditional feature per page, as well as turn off by user. It also adds id (like id="yui_patched_v3_11_0_1_1401624723226_2281") when edited, which makes the HTML a little more messy.
CMS Inline Editing Hook
- Liferay Portal 6.2 CE GA1+
- Liferay Portal 6.2 EE GA1+
- Security Enabled: This app uses Liferay's PACL Security Manager.
The CMS Inline Edit Hook provides Liferay with inline editing capabilities for journal articles inside Web Content Display portlet, which makes it even more comfortable to use Liferay as CMS.
Inline editing itself works almost the same as for blog entries: Editable articles are highlighted with a dashed green border and clicking them directly opens up CKEditor. This only works for articles with the default structure.
To suit the needs of a CMS team and make editing as easy as possible, some save logic has been added as well. While editing an article it is saved automatically as a draft, so no changes can be lost. To make this approach work, Web Content Display portlet has also been extended to render the latest draft, if there is one and the user has editing permissions. When finished, the changes can be saved by clicking the save button in CKEditor. This either publishes the draft or starts the connected publishing workflow.
The hook also supports multi-language articles. Inline editing only affects the content in the current display language or the default language, if there is no translation yet.