javascript in tags
Posted: Fri Aug 03, 2007 2:38 pm
hello,
I've been looking at a few ways to insert a google map (using the API) in cmsms, i have found 2 solutions, one being a iframe, the other being a template that includes the javascript part + a page containing the div, then i read this http://wiki.cmsmadesimple.org/index.php ... fined_Tags
it seems i should be able to insert javascript in there (and then do other cool things) however i'm not sure how, for if i insert something like
i get this error
* Le code entré est invalide. ('the code entered is not valid)
* Parse error: parse error, unexpected '<' in /var/snip.....snip/adduserplugin.php(94) : eval()'d code on line 1
i am using debian stable/etch and i'm using apache (1 and not 2) with php4 and mysql4 (the ones included with stable release of debian)
any help is welcome, if i can avoid making a template for every map i need that would be nice
thanks.
manu
I've been looking at a few ways to insert a google map (using the API) in cmsms, i have found 2 solutions, one being a iframe, the other being a template that includes the javascript part + a page containing the div, then i read this http://wiki.cmsmadesimple.org/index.php ... fined_Tags
it seems i should be able to insert javascript in there (and then do other cool things) however i'm not sure how, for if i insert something like
i get this error
* Le code entré est invalide. ('the code entered is not valid)
* Parse error: parse error, unexpected '<' in /var/snip.....snip/adduserplugin.php(94) : eval()'d code on line 1
i am using debian stable/etch and i'm using apache (1 and not 2) with php4 and mysql4 (the ones included with stable release of debian)
any help is welcome, if i can avoid making a template for every map i need that would be nice
thanks.
manu