×
Kunena 5.1.5 Released - Security Release (14 Oct 2018)

The Kunena team has announce the arrival of Kunena 5.1.5 [K 5.1.5] which is now available for download as a native Joomla extension for J! 3.8.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1. This is a Security release.

Bug in config.xml a filter="raw" - Dont works

More
2 years 9 months ago - 2 years 9 months ago #1 by loren
hello,

in template config.xml i am trying to create a simple Joomla textarea field ( docs.joomla.org/Textarea_form_field_type ) with filter="raw" - but when i try to save parameter in adminside template manager, it dont saves.

i mean this simple parameter:
<field name="mytextarea" type="textarea" default="default" label="Enter some html" description="" rows="10" cols="5" filter="raw"/>

thank you so much,
Lorenco
Last edit: 2 years 9 months ago by loren.

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #2 by 810
you don't need to add filter. Just remove it. We are handle the security ourself.

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago - 2 years 9 months ago #3 by loren
thank you very much for answer,

but, i dont understand .. you mean it dont works?

for example, when i add in "root/components/com_kunena/template/blue_eagle/config.xml" this field:
<field name="mytextarea" type="textarea" default="default" label="Enter some html" description="" rows="10" cols="5" filter="raw"/>
or without filter="raw"
<field name="mytextarea" type="textarea" default="default" label="Enter some html" description="" rows="10" cols="5"/>

and in "template manager" when i try to put simple HTML
<h1>Heading</h1>
or when i try to put even encoded one:
&lt;h1&gt;Heading&lt;/h1&gt;

after saving, the result is same - it saves only as a text: Heading, not as HTML ....

but i want HTML, i want to call it frontand template view ....

how to do that?

thank you so much,
Lorenco
Last edit: 2 years 9 months ago by loren.

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #4 by loren
any answer please?

thank you so much,
Lorenco

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #5 by 810
html can be only changed on template itself. Because we protected all inputs for security.

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.115 seconds