Perhaps I'm missing something, but when using the Plain Grail theme, Googles maps (generated by Location and Gmap) will not display in the theme. I can switch back to Garland and get the maps to display properly. I also checked the Blog Gtail theme and the maps display properly there ... but as I said, not in Plain Grail.

The only things I've changed have been to use the one sidebar modification posted in this cue and to rename the grail-overrides-rename.css to grail-overrides.css.

Thanks

CommentFileSizeAuthor
#2 gmap-location-plaingrail.png48.27 KBgausarts

Comments

gausarts’s picture

I'll try to see to the possible problem. If you have a screenshot of the working theme, it may help me too. Thanks

gausarts’s picture

StatusFileSize
new48.27 KB

It seems Gmap and location want javascript files printed in the head.

I followed best practises as suggested by yslow, a firefox extention, to put all javascripts in the footer. Somehow gmap and location do not work if you put javascripts in the footer. So the quick fix is to put back all javascripts into the head.

The steps:
1. Open your page.tpl, and scroll to the bottom.
2. You'll find <?php print $scripts; ?> just before <?php print $closure; ?>
3. Move the scripts to the head right AFTER <?php print $styles; ?>

See the attachment.

Hope that'll fix it. Perhaps you wanted to open the issue in gmap or location as well to allow putting javascripts in the footer.

UPDATE: Sorry, the image is overlay/ blurred, but it just works :)

gausarts’s picture

Status: Active » Needs work

Till upcoming release.

gausarts’s picture

Status: Needs work » Closed (won't fix)

Cleaning up issue, feel free to reopen if still needed.