Keyword

No script is allowed to run on K2 items

  • sohrab
  • sohrab's Avatar Topic Author
  • Offline
  • Junior Member
More
3 months 2 weeks ago #171661 by sohrab
sohrab created the topic: No script is allowed to run on K2 items
Hi,

I recently confronted this problem that no script is allowed to run on my k2 items only. like soundcloud iframe or google adsense or google snippets. They won't run anymore, I updated the k2 which changed every modification I had on it including the css file. However, it didn't help. and still I can not run scripts insertions there.
Moreover, There is an unknown offcanvas element I believe only on k2 items which makes the horizontal scroll bar very small.
I believe the two problems are related but I am not able to solve it.

Please help.

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

  • sohrab
  • sohrab's Avatar Topic Author
  • Offline
  • Junior Member
More
3 months 2 weeks ago #171662 by sohrab
sohrab replied the topic: No script is allowed to run on K2 items
I deleted the whole k2 and installed it afresh and then created one item and saw that the problem still persist.

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

  • sohrab
  • sohrab's Avatar Topic Author
  • Offline
  • Junior Member
More
3 months 2 weeks ago #171663 by sohrab
sohrab replied the topic: No script is allowed to run on K2 items
One another update. I deleted the whole website and brought back a healthy backup. it worked for one minutes without these problems but then it became defected .

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

  • sohrab
  • sohrab's Avatar Topic Author
  • Offline
  • Junior Member
More
3 months 2 weeks ago #171665 by sohrab
sohrab replied the topic: No script is allowed to run on K2 items
Next update:
I brought back the healthy update but this time I did not update the website to the latest joomla which is now 3.9.4 and everything is working fine . but this is not a final solution because anytime in future I need to update.

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 months 1 week ago #171729 by Fotis
Fotis replied the topic: No script is allowed to run on K2 items
K2 does not strip <script> tags unless you ask it to do so in the K2 Settings "Content" tab (cleanup section). If you have nothing there, then the stripping is automatically performed by the WYSIWYG editor you use in Joomla. An update to that editor probably caused the stripping when you open items to edit them.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

Moderators: william white

Powered by Kunena Forum