- Posts: 60
COMMUNITY FORUM
No script is allowed to run on K2 items
- Sori
- Topic Author
- Offline
- Senior Member
Less
More
5 years 7 months ago #171661
by Sori
No script is allowed to run on K2 items was created by Sori
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.
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.
- Sori
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 60
5 years 7 months ago #171662
by Sori
Replied by Sori on 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.
- Sori
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 60
5 years 7 months ago #171663
by Sori
Replied by Sori on 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.
- Sori
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 60
5 years 7 months ago #171665
by Sori
Replied by Sori on 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.
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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
5 years 7 months ago #171729
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on 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.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.