Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# shaggyjb 1/4/2008 4:04 PM
Hello,

Is there any easy way to insert javascript on a page through the editor? I want to put a googlemap on a page. Maybe I need to create a module specific to the map instead?

Any suggestions would be appreciated!

thanks

shaggy
# Blackred 1/17/2008 11:27 AM
Hello,

The only way I've found you can do this is to create a seperate template and add the necessary JavaScript includes that way.

There is a literal with the id JavaScripts in the default templates but as far as I can see they don't do anything at the moment.

Writing a module is an option, but creating a template was the quickest option for me.

Cheers,
Blackred.