Home Blog Documentation Download Features Forum Users Contact

WYSIWYG capabilities

WYMeditor integration

CMSity bundle comes with sample integration with WYMeditor client side JavaScript component. This integration is embedded within bundled template files and static files.

files/jquery

WYMeditor relies on JQuery components, therefore CMSity bundle includes JQuery files.

files/wymeditor

Those are WYMeditor files taken from WYMeditor distribution.

header.php

Header template chunk checks if current action is one of edit, create, new and injects wymeditor.php chunk into the output.

wymeditor.php

This template chunk loads WYMeditor into all input elements having class of "wymeditor". This chunk also customizes L&F of WYMeditor within CMSity.

_.wymeditor.php

Finally this is action "wymeditor" template, used as a source of <iframe> of the embedded editor.

Removing WYMeditor integration

To remove WYWIWYG integration, remove files/jqueryfiles/wymeditor folders and wymeditor.php and _.wymeditor.php. Remove the code marked /* WYMeditor integration */ from header.php.

Integrating with other WYSIWYG components

CMSity can be integrated with other components such as TinyMCE or FCKeditor. Please check out our extensions forums for integration samples.