Keyword

how can i add scripts in k2 items?

  • Cyano gen
  • Cyano gen's Avatar Topic Author
  • Offline
  • New Member
More
9 years 6 months ago #142327 by Cyano gen
how can i add scripts in k2 items? was created by Cyano gen
i realy need to add scripts on items in my site from various reasons but i don't know how to add scripts in items, it just don't work well, for example when i try to add a bookmark button code in the "source code" on the k2 item most of it is being deleted and the button is not working as it should.

i know that you can change that filter on the regular joomla editor but i don't know how to do it in k2..

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

More
9 years 6 months ago #142331 by Joe Campbell
Replied by Joe Campbell on topic how can i add scripts in k2 items?
Hello Cyano,

I would recommend using a plugin to ensure scripts do not get removed from the text editor. I personally a fan of
NoNumber Sourcerer - extensions.joomla.org/extension/sourcerer

It's a 5-star extension that super easy to use. The developer offers a free & Pro version.

Here's a video of the plugin (installation & usage):
www.youtube.com/watch?v=0Y1V7ilpMLg

I hope this helps,

Joe Campbell

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 6 months ago #142358 by Krikor Boghossian
Replied by Krikor Boghossian on topic how can i add scripts in k2 items?
Most WYSIWYG editors have settings that allow/ block certain tags (<script> being one of them). These settings are located on the editor's plugin settings.

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

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


Powered by Kunena Forum