Add script
- anazititis
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
8 years 5 months ago #38858
by anazititis
Add script was created by anazititis
Hi,
i created a page with page creator and added on it four horizontal tabs, how can i insert a script in a tab?
The script is an affiliate link for Hotels Combined (a search box).
I use the JCE editor, and what i did, was to switch editor to Source Code Editor and insert the script. On the back end of the JCE editor i can now see the script, but i cannot see it on the front end.
Thanks and regards from Cyprus.
i created a page with page creator and added on it four horizontal tabs, how can i insert a script in a tab?
The script is an affiliate link for Hotels Combined (a search box).
I use the JCE editor, and what i did, was to switch editor to Source Code Editor and insert the script. On the back end of the JCE editor i can now see the script, but i cannot see it on the front end.
Thanks and regards from Cyprus.
Please Log in or Create an account to join the conversation.
8 years 5 months ago #38862
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Add script
Hi
in the page options, check that you enabled the "content plugins" option to YES
this will trigger the content plugins in the page
CEd
in the page options, check that you enabled the "content plugins" option to YES
this will trigger the content plugins in the page
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- anazititis
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
8 years 5 months ago - 8 years 5 months ago #38892
by anazititis
Replied by anazititis on topic Add script
Hi Cedric,
thank you for your answer,
i enabled the content plugins, but still i have problem. I cannot see the text link on top of the page [TOGGLE EDITOR} and so i cannot insert the script. To fix this, i installed the free version of the sourcerer plugin by (ex NoNumber) Regular Labs. I can now see a blank area in the tab but not the search box.
My website is cyprusholidaysguide.com, you can see this at the top of the page, while at the bottom of the page i added the javascript directly into the page from the page's JCE editor, (as i can see and use the toggle editor link) and so the search box looks and works perfectly at the bottom of the page. Any ideas much appreciated
thank you for your answer,
i enabled the content plugins, but still i have problem. I cannot see the text link on top of the page [TOGGLE EDITOR} and so i cannot insert the script. To fix this, i installed the free version of the sourcerer plugin by (ex NoNumber) Regular Labs. I can now see a blank area in the tab but not the search box.
My website is cyprusholidaysguide.com, you can see this at the top of the page, while at the bottom of the page i added the javascript directly into the page from the page's JCE editor, (as i can see and use the toggle editor link) and so the search box looks and works perfectly at the bottom of the page. Any ideas much appreciated

Last edit: 8 years 5 months ago by anazititis.
Please Log in or Create an account to join the conversation.
8 years 5 months ago #38893
by ced1870
this is a problem when using tabs,the scripts have some difficulties to initialize but this shall be fixed in the script, not in the tabs
Joomlack Webmaster and Developer
Replied by ced1870 on topic Add script
give me the page url where it is loade in the pageI can now see a blank area in the tab but not the search box.
this is a problem when using tabs,the scripts have some difficulties to initialize but this shall be fixed in the script, not in the tabs
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- anazititis
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
8 years 5 months ago - 8 years 5 months ago #38895
by anazititis
Replied by anazititis on topic Add script
the url is cyprusholidaysguide.com as i mention below, do you need admin access as well?
Last edit: 8 years 5 months ago by anazititis.
Please Log in or Create an account to join the conversation.
8 years 5 months ago #38896
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Add script
ok my bad 
I see the tabs lol
in the source code I see this
I can not do more here as the problem is not related to the tabs, but to the way it is loaded
try to load it on domready, or add a event trigger on the tab to launch the instance of your script

I see the tabs lol
in the source code I see this
in script tags, so your script is loadeddocument.write(" www.hotelscombined.com/SearchBox/122744 " >);
I can not do more here as the problem is not related to the tabs, but to the way it is loaded
try to load it on domready, or add a event trigger on the tab to launch the instance of your script
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.219 seconds