Active
Project:
GDriving
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2010 at 00:03 UTC
Updated:
6 Oct 2010 at 00:21 UTC
I finally got it working and enabled (the need for the block to be enabled wasn't totally apparent to me, thought it was an optional block of some sort), and it seems to work great! The only thing I'd love to be able to do is remove it from some pages.
There's a main view map I have for locations that pulls in the node teaser for my popup, so I want to keep directions off of it unless they've drilled down to the node page. Any way to do that?
Comments
Comment #1
sansui commentedActually, it was a pretty easy workaround for me. I modified gdriving-marker.tpl.php and just wrapped it in a
if :statement based on args. Since I only wanted it to display on nodes or users and not on views, just checked to see if arg(0) was node or user. I seem to have an issue with getting driving directions to work with my user maps vs. my property maps, but it's probably something I've done.