Keyword

embed tag is stripped in extra field

  • Jung Chiu
  • Jung Chiu's Avatar Topic Author
  • Offline
  • New Member
More
12 years 2 months ago #101111 by Jung Chiu
embed tag is stripped in extra field was created by Jung Chiu
How I can prevent the applet, script, and embed tags got stripped out in the textarea field of extra field?
Thanks,

Jung Chiu

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

More
12 years 2 months ago #101112 by Lefteris
Replied by Lefteris on topic Re: embed tag is stripped in extra field
Hi. If you are udner Joomla! 2.5 check the text filters under Joomla! configuration. If you are under Joomla! 1.5 you will find them under com_content parameters.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Jung Chiu
  • Jung Chiu's Avatar Topic Author
  • Offline
  • New Member
More
12 years 2 months ago #101113 by Jung Chiu
Replied by Jung Chiu on topic Re: embed tag is stripped in extra field
Hi Lefteris,
Thanks for reply.
I read most the posts in this forum and google the solution regarding this problem before I posted the question. I did most of the suggestion I can found but my embed/applet tag still got stripped in extra field.
I am using Joomla 2.5. I have the text filtering set to "no filtering" for supper user and administrator. I set the default editor to "editor - none". I have the textarea field in extra field set for no editor too. K2 doesn't strip out those HTML tags in the content textarea but it does strip out those tags in extrafield.
I even to the hacking in administrator/components/com_k2/models/extrafield.php. Changing line 34 to if (!$row->bind(JRequest::get('post',JREQUEST_ALLOWHTML))) and line 57/58 to
$values = JRequest::getVar('option_value','','post','string',JREQUEST_ALLOWRAW);
$names = JRequest::getVar('option_name','','post','string',JREQUEST_ALLOWRAW);

I even installed the free Joomla plugin sourcerer but it only work on the content textarea.
Please help,
Thanks,
Jung Chiu

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

More
12 years 2 months ago #101114 by woodooi
Replied by woodooi on topic Re: embed tag is stripped in extra field
Admins where are you?

The problem is still actual.


I`m using j2.5.6 + k2.5.7 + jce 2.2.4, no any html-filtering for admins.

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

More
12 years 2 months ago #101115 by mduranga
Replied by mduranga on topic please help me
I can't save edited k2 admin features. please let me know how can i save these features.. ( Items,Categories, Tags, Comments)



Maduranga
Thank you

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

More
12 years 2 months ago #101116 by Lefteris
Replied by Lefteris on topic Re: please help me
You need to use the SVN version to get this working. We have already fixed it by applying the Joomla! Text filters. You can find the link to the SVN version at getk2.org

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
12 years 2 months ago #101117 by woodooi
Replied by woodooi on topic Re: please help me
Thank you :)

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


Powered by Kunena Forum