Closed (fixed)
Project:
geomap
Version:
5.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Jul 2008 at 12:54 UTC
Updated:
15 Aug 2010 at 17:00 UTC
I have this problem with printing the map on the content block. Map works if I put it to left or right sidebar, but no if put the block to content. Can anyone help me with this issue?
Comments
Comment #1
the greenman commentedHmm. Have you got anywhere I could look ? If you can get me a url I could look at ?
It's probably something to do with the jquery lookup.
Comment #2
irkop commentedI added the map to the content part of the page so you can see that it doesn't show anything. It should show Helsinki's location as it is on the page. I also tried to make new areas in the template file, but that didn't help me neither. It just works on the left and the right sidebar.
Here's the link to the site:
http://dev.filipgigic.com/node/1/
Comment #3
the greenman commentedFor some reason, the geomap js file is not being added.
Have you manually added the content map div ? If so, you will need to manually call the drupal_add_js function.
Comment #4
irkop commentedWhat do you mean by manually added? It's the content area that came with the drupal installation. I've just implemented my own template to it. I just added the geomap block to the content area.
Comment #5
the greenman commentedHmm. Ok looks like the way the content section of the theme is rendered may be different to the other regions.
Headers may have already been sent when the theme function is called.
This the important stuff
An immediate solution would be to add this code to the top of your template.php.
It wont be a "nice" solution, but it will get you working. I will need to look into a better way to add the files in the future.
Comment #6
jjchinquistSetting to fixed as after the comment from Greenman it has no longer had activity.