Search code examples
ckeditorliferayliferay-6

How to disable in place blogs editing in Liferay 6.2


Liferay 6.2 introduces in-place editing for blogs portlet with ckeditor. Is there any way to disable it?


Solution

  • To disable blog inline editing you need to create a hook for blog and override "view_entry_content.jsp" file. In this file find boolean variable "inlineEditEnabled" and change its value to false. Just a note that this change will get applied to across site/portal.

    To Overcome this, You can create a display style in asset publisher and override this jsp only when your display style has been selected. This approach will give you an option were you can have a blog with edit enable functionality as well.

    HTH