Download & Extend

'Location map' block is not visible

Project:Location
Version:6.x-3.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)
Issue tags:location browser specific problems, location useful code

Issue Summary

With GMap and Location module installed, I can assign coordinates to the node using the map, but having the location map block, assigned to a region, it doesn´t appear on the node.

I´ve tried everything, what is it wrong?

Comments

#1

Are you using the generic Location or are you using the CCK Location field? I've noticed the CCK Location field does not work with that block and you need to make your own.

#2

Yes, it's a CCK Location field, that must be the problem. I´ll check it.

Thanks!

#3

I am using "generic" location and same problem - then I switched from the "Newswire" theme to Acquia Marina and the block is displaying correctly...

#4

next question would be, what in the theme is missing (or conflicting) that would cause this?

#5

I am also having this issues and I cannot seem to figure out what is conflicting unless it is javascript. I know then when trying to move the java to the footer once Location will not show up at all, it is very sensitive with java. Any ideas?

#6

Status:active» needs review

The block will only work on /node/%nid pages since the block checks for this condition. Then it checks for $node->locations which location_cck doesn't have as yet.

You can try this patch to add the $node->locations for location_cck #383244-31: location_cck back compat and views support

Let us know if you have success!

#7

Same problem using Acquia Marina 3.x (Fusion/Skinr).

I modified my custom tpl.php file and added this where I wanted the map to show up:

<div class="res-gmap">
<?php print $node->content['field_res_prop_location']['field']['#children'];?>
</div>

The variable name 'field_res_prop_location' is particular to my site. If you enable the devel module and insert the following line somewhere in your tpl.php file: php dsm($node); ?> then reload the page you can find your particular variables in the message section at the top of the page - just drill down through 'content' --> 'field' and so on.

My problem is this works fine in Firefox 3.6.2 but not in Opera 10.1 or IE8. Examining the source shows the div "res-gmap" but it's empty - weird.

All of the gmap scripts are also absent from the source, but not in FF.

UPDATE:It was a permissions issue (as usual)...

#8

tagging

#9

Issue tags:+location useful code

tagging again

#10

Status:needs review» postponed (maintainer needs more info)

is anyone still having a problem with this? taote, typehost, venusrising?? Post back.

If no more information in 2 weeks, we'll mark this closed.

#11

Status:postponed (maintainer needs more info)» closed (fixed)

No response in 2 months should validate YesCT's suggestion.

Issue marked as closed and considered resolved.

#12

Status:closed (fixed)» fixed

On second thought lets mark it as fixed instead.

#13

nickl, Thanks! Actually there are probably a bunch of issues that can be marked postponed (needs more information) and if no one responds in 2 week, we (ummm you, others?) can close them.

#14

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here