AtkTinyMce module

From Achievo/ATK Wiki

Jump to: navigation, search

Description

The ATK TinyMCE module is a module that adds the atkTinyMceAttribute to your ATK application. It is a WYSIWYG editor similar to the atkFckAttribute, but using TinyMCE as the backend.

ATK TinyMCE installation instructions

1. Place the atktinymce directory somewhere in your application, preferably in the external modules/ dir.

2. Add the following statement to your config.modules.inc or config.inc.php file:

   module("atktinymce");

If you installed the module somewhere other than in your default module path, also provide the path, relative to your atkroot:

   module("atktinymce", atkconfig("atkroot")."extension_modules/atktinymce/");

3. To use the atkTinyMceAttribute in a node, put the following line near the top of the file:

   useattrib("atktinymce.atktinymceattribute");

4. Add the attribute to your node in the usual manner:

   $this->add(new atkTinyMceAttribute("remarks"));

About TinyMCE

The TinyMCE editor is Copyright (c)2003-2006 Moxiecode Systems AB and made available under the GNU Lesser General Public License (LGPL). Documentation and license file can be found in the ext/tinymce subdir and on its homepage:

http://tinymce.moxiecode.com/

Personal tools
Navigation