plugins parameters store

13 views
Skip to first unread message

yair lahav

unread,
Aug 25, 2016, 11:17:30 AM8/25/16
to Joomla! General Development
I wrote a small plugins that store some parameters in DB.
When one of the parameter includes HTML tags they are stripted from the value.

example:

<div class="yoyo">some text</div>

becode:

some text

any idea how to avoid it?

Ole Ottosen (ot2sen)

unread,
Aug 25, 2016, 12:28:16 PM8/25/16
to joomla-de...@googlegroups.com
You could try adding filter="raw" to the field.
See example in the docs here: https://docs.joomla.org/Text_form_field_type


--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.
To post to this group, send an email to joomla-dev-general@googlegroups.com.
Visit this group at https://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages