midcom_helper_datamanager_widget_tinymceThis is a WYSIWYG HTML widget that uses the powerful TinyMCE editor
This widget should only be used with the text type configured to an unlimited-length field.
Configuration parameters:
widget_tinymcearea_customconfig: This widget has smart defaults that are inspired by popular text processors. You can adjust its look and functionality here (e.g. to enhance or strip down functions). See http://tinymce.moxiecode.com/docs/using.htm how to do this. Important: leave the "mode" setting ("specific_textareas") alone or this thing will begin to do very strange things
Sample configuration
"html" => array (
"description" => "WYSIWYG HTML",
"datatype" => "text",
"location" => "attachment",
"widget" => "tinymce",
"widget_tinymce_customconfig" => <<Note
As an advantage over HTMLarea we are now able to use more than one WYSIWYG editor field per page. But we still can use only one configuration set. So all TinyMCE editors in one page will look the same, only the first configuration is taken into account.
TinyMCE Copyright (c) 2004, Moxiecode Systems AB, All rights reserved
Located in /midcom.helper.datamanager/widget_tinymce.php (line 63)
midcom_helper_datamanager_widget
|
--midcom_helper_datamanager_widget_tinymce
string
$_customconfig
(line 71)
Custom JScript configuration block
Inherited from midcom_helper_datamanager_widget
midcom_helper_datamanager_widget::$missingrequired
midcom_helper_datamanager_widget::$required
midcom_helper_datamanager_widget::$_datamanager
midcom_helper_datamanager_widget::$_field
midcom_helper_datamanager_widget::$_fieldname
midcom_helper_datamanager_widget::$_l10n
midcom_helper_datamanager_widget::$_l10n_midcom
midcom_helper_datamanager_widget::$_value
The constructor will add the corresponding Javascript code only if we are running AIS. On-Site usage is not yet possible.
Get the TinyMCE configuration This will be included in the "tinyMCE.init(...)" call
TODO: this does not work yet!
Inherited From midcom_helper_datamanager_widget
midcom_helper_datamanager_widget::midcom_helper_datamanager_widget()
midcom_helper_datamanager_widget::draw_helptext()
midcom_helper_datamanager_widget::draw_view()
midcom_helper_datamanager_widget::draw_widget()
midcom_helper_datamanager_widget::draw_widget_end()
midcom_helper_datamanager_widget::draw_widget_start()
midcom_helper_datamanager_widget::get_css_classes_required()
midcom_helper_datamanager_widget::get_value()
midcom_helper_datamanager_widget::set_value()
midcom_helper_datamanager_widget::_constructor()
midcom_helper_datamanager_widget::_read_formdata()
Documentation generated on Tue, 15 Aug 2006 13:10:04 +0300 by phpDocumentor 1.3.0RC3