Keyword

How to use JQuery in K2 items ?

  • Lucas Mattos
  • Lucas Mattos's Avatar Topic Author
  • Offline
  • New Member
More
10 years 7 months ago #132948 by Lucas Mattos
How to use JQuery in K2 items ? was created by Lucas Mattos
I'm tryingto use the <script> tag on the "content" field of a k2 item, but nothing happens....


when i save it doesn't work and the jquery code is wiped!

Can someone help me please?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 7 months ago #132949 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: How to use JQuery in K2 items ?
This has to do with your editor.
Depending on the editor you are using, there are setting of which tags to strip or allow.

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

  • Lucas Mattos
  • Lucas Mattos's Avatar Topic Author
  • Offline
  • New Member
More
10 years 7 months ago #132950 by Lucas Mattos
Replied by Lucas Mattos on topic Re: How to use JQuery in K2 items ?
Thanks!

But how do i chance the k2 item editor ?

under "global settings" there is an option to select the editor, but even after i change, nothing happens !

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 7 months ago #132951 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: How to use JQuery in K2 items ?
Make sure you have not specified an editor in your user's profile.
K2 will inherit Joomla! 's settings in terms of the editor.

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


Powered by Kunena Forum