Topics

editor or html Control - ckeditorcontrol, tinymcecontrol, or htmleditorcontrol Classes

The editor or html control places a multi-line text box with a WYSIWYG editor in the form.  The two control types are a psuedonym for each other.  It uses the either the ckeditorcontrol or htmleditorcontrol class in the forms/controls folder based on the site selected WYSIWYG editor.

The editor/html control accepts several parameters:

  • name (required)
  • id
  • toolbar
  • module
  • rows
  • cols
  • height
  • default
  • required
  • maxchars
  • accesskey
  • class
  • tabindex

An example of the editor/html control:

{control type=html name=body label="Body Content" value=$record->body}
Loading Help