Blog / Joomla

How do I allow HTML in a module’s configuration parameter’s textarea/editor field type?

Add a filter=”raw” or filter=”safehtml” attribute in the XML field tag of the parameter.

Example:

  • filter (optional) allow the system to save certain html tags or raw data.
<field name="myhtmlvalue" type="text" default="" label="Some text" description="Some desc" filter="raw" />

PublishedFriday, Feb 3, 2012

CategoryJoomla

Still Have Questions?
Still Have Questions

Looking for more information? Feel free to reach out anytime.

Subscribe to Web357 Newsletter
Subscribe to Web357 Newsletter

Get updates for new releases, product updates & special offers!

We care about your data in our privacy policy

How do I allow HTML in a module's configuration parameter's textarea/editor field type? | Web357 Blog