×
Kunena 5.2 Beta 1 Released (24 Sep 2020)

The Kunena team is thrilled to announce the first public beta release of Kunena 5.2, a native Joomla extension for Joomla 3.9. This is a development release and should be only be used for testing; this version is not recommended for live websites at this stage.

The purpose of this release is to encourage testing by downloading, installing and identifying any problems or shortcomings that people may discover. K 5.2.0 B1 is stable and we are aware that people will discover defects. We encourage you to use the forum to report defects, as soon as they are discovered, so that the development team can work through the problems before the release of K 5.1 as a stable product. Reporting defects does not mean that the problems can or will be fixed. The Kunena team is looking forward to hearing your feedback on how well we have achieved our design goals.

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

More
4 years 9 months ago - 4 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: 4 years 9 months ago by loren.

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

More
4 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
4 years 9 months ago - 4 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: 4 years 9 months ago by loren.

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

More
4 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
4 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 edit your message.
Time to create page: 0.099 seconds