• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: custom editable fields in html

custom editable fields in html 10 years 3 months ago #26198

Hello, could you introduce a new type of field to edit the text as html? It should be possible to modify the property of the field: allow_html from the backend, and modify the code to display the form in the backend similar to this:


// Process a textarea field.
case 'textarea':
if ( $properties->get('allow_html') ) {
$editor = JFactory::getEditor();
$field_str .= $editor->display( $name_attr, self::escapeHTML($default), '100%' , '20%' , '100' , '10' );
}else{
$this->setAttr('class', 'rsdir-textarea');
$field_str .= "<textarea name=\"$name_attr\"" . $this->getAttrsString() . ">" . self::escapeHTML($default) . "</textarea>\n";
}
break;
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!