Filtering files by name in CKEditor’s file browser dialog in Liferay

After I reach the point where I think that my topics covering Liferay are finally done I encounter another task at work which I should solve.

Now it is the filtering of file names in the CKEditor file browser. This goes hand in hand with my previous article where I introduced an ext-plugin which can be used to sort files by their modification date.

The current extension is for those users who do not want to use an ext plugin for sorting by file modification date but want to filter by name.

Continue reading

Ordering files in the CKEditor file browser with Liferay

I’ve already written about extending Liferay’s CKEditor with custom Liferay Hooks to implement required functionality.

Today I’ll continue this article with another UseCase where I improved the sorting of the displayed files in the file browser window.

I started to create this article because of this Stack Overflow question.

Continue reading

Extending CKEditor in Liferay

Perhaps you encountered this problem too: you have a website in LifeRay, with WYSIWYG (What You See Is What You Get) editor but you need a custom tag / functionality in your editor to avoid always tipping HTML / JavaScript code in the text editor tab (for a WordPress example: source code). For this the best solution would be a custom button in the editor.

In this article I’ll show you how to add this custom functionality to CKEditor, one of the usable editors in Liferay.

Continue reading