1. How can I add Javascript code into content please?
When I added Javascript code <__script__>...</__script> with content editor (between </__body>..<__body>), after I saved it, it changed to <!-- ... -->.
2. How can I change header and footer file?
I only have access to mydomain.com/admin.
Thanks
Problem to add Javascript code between </__body>...<__body>
-
- New Member
- Posts: 2
- Joined: Sat Nov 17, 2012 3:45 pm
Re: Problem to add Javascript code between </__body>...<__body>
And even then you might not have permissions to edit any templates, if it wasn't you who installed CMSMS in the 1st place...designpromote wrote:I only have access to mydomain.com/admin.
But if you have enough permissions then read through this:
http://docs.cmsmadesimple.org/layout/cr ... n-template.
Also if you want to use JavaScript on your templates as you say, you need to wrap them like this
Code: Select all
{literal}..... your JavaScript code ....{/literal}
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!