-
AuthorPosts
-
November 13, 2016 at 5:09 pm #985868
Hey,
we have a problem with our website. We can´t get script code from bookings com to show in our articles.
I already edited the Prohibited Elements options of the tinyMCE editor and also put script into the Extended Valid Elements.
We also tried to use the JCE editor but still the same outcome.
When I check the source code of the article where I put the script it shows up, but as I said the banner itself does not show in the article.Thanks,
yannickpavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
November 13, 2016 at 5:17 pm #985874Hi
Try to install JCE editor then go to components -> Jce editor -> Profiles -> Default -> and allow javascripts as showed in my image below
November 14, 2016 at 1:21 am #985968Hey pavit,
thanks for the quick reply. I did as you said but still no change.
Also we would like to keep using the tinyMCE editor if that is possible.Greetings,
yannickpavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
November 14, 2016 at 6:37 pm #986284Hi
You will need to be able to replicate same issue on protostar template too , i don’t think it is a ja_smashboard template issue
November 15, 2016 at 2:56 pm #986524Hi,
I do not think that it is a practical solution for us to do.
There must be a way to find out why the code wont display in the article other than for me to install a whole new template.Thanks,
yannickNinja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 16, 2016 at 10:01 am #986915Hi,
Here are how you can get it works on your site
- Global Configurations -> Text Filters for Super Users – set it "No Filtering"
- Users -> User Manager – Make sure you have Super User privileges
- Extensions -> Plugin Manager -> Filter:Editors -> TnyMCE -In the TinyMCE plugin field, remove "script" in the "Prohibited Elements" field
- In "Extended Valid Elements", add "script"
And I’m able to add script tags in the article now, see the configuration here: http://prntscr.com/d7x74z
Hope it helps
Regards
November 17, 2016 at 6:41 pm #987358Hi,
Here are how you can get it works on your site
-
Global Configurations -> Text Filters for Super Users – set it "No Filtering"
-
Users -> User Manager – Make sure you have Super User privileges
-
Extensions -> Plugin Manager -> Filter:Editors -> TnyMCE -In the TinyMCE plugin field, remove "script" in the "Prohibited Elements" field
- In "Extended Valid Elements", add "script"
And I’m able to add script tags in the article now, see the configuration here: http://prntscr.com/d7x74z
Hope it helps
Regards
This is exactly what I did, I also said that in my first post.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 18, 2016 at 4:23 am #987473Hi,
So that I can take a look and try to assist, please provide the URL to see the script of the site you’re working on
Regards
November 18, 2016 at 8:23 am #987521This reply has been marked as private.Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 21, 2016 at 12:57 am #987930Hi,
I can see the credentials in your first post but I need to know which Article you’re using the script and which page on frontend it’s showing so I will check for you.
Regards
November 22, 2016 at 12:53 am #988372You can remove this post sorry!
November 23, 2016 at 4:59 am #988864This reply has been marked as private.Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 24, 2016 at 1:06 am #989126Hi,
I tried to use many ways to run the js script including from K2 item on your site but you will not able to do this way because K2 item view on front-end will not able to run the js script. It looks like this script as the content and not run the JS script.
Regards
AuthorPostsViewing 13 posts - 1 through 13 (of 13 total)This topic contains 12 replies, has 3 voices, and was last updated by Ninja Lead 8 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Cant display script code in Article
Viewing 13 posts - 1 through 13 (of 13 total)