Getting Javascript to work with my own theme

Arran - October 10, 2009 - 15:47

Hi,

I've recently added and played about with the GMap module... To stick some Google Maps on my site...

Everything works fine with a standard theme such as Garland, maps show up perfectly so I know its not a GMap issue...

However with my custom theme, where the map should be I get this message "Javascript is required to view this map."

Obviously theres a bit of code somewhere that Garland has that I don't have, but I can't for the life of my figure out what...

A piece of code that gets the Javascript going maybe?

Any help would be greatly appreciated.

Your theme is probably

nevets - October 10, 2009 - 16:03

Your theme is probably missing print $scripts; in the head section.

Worked a charm! Thanks ever

Arran - October 10, 2009 - 16:12

Worked a charm!
Thanks ever so much nevets!

 
 

Drupal is a registered trademark of Dries Buytaert.