Kunena 6.0.8 Released (17 Jan 2023)

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

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

More
7 years 1 month ago - 7 years 1 month 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:
Code:
<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: 7 years 1 month ago by loren.

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

More
7 years 1 month 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
7 years 1 month ago - 7 years 1 month 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:
Code:
<field name="mytextarea" type="textarea" default="default" label="Enter some html" description="" rows="10" cols="5" filter="raw"/>
or without filter="raw"
Code:
<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
Code:
<h1>Heading</h1>
or when i try to put even encoded one:
Code:
&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: 7 years 1 month ago by loren.

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

More
7 years 4 weeks ago #4 by loren
any answer please?

thank you so much,
Lorenco

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

More
7 years 4 weeks 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.

Time to create page: 0.581 seconds