×
Blue Eagle (1.5.0) for K5.1 is released (20 Jul 2018)

Please update the Kunena Blue Eagle to 1.5.0 if you use Kunena 5.1.
We made several bug fixes and improvements. Also Blue Eagle has now all the features from Crypsis.
Download: www.kunena.org/download/templates/category/blue-eagle-5

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

More
2 years 7 months ago - 2 years 7 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 7 months ago by loren.

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

More
2 years 7 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 7 months ago - 2 years 7 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 7 months ago by loren.

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

More
2 years 7 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 7 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.104 seconds