Just installed this module on a site I'm working on and it seems really good - provided a nice directions page with only a minimum of configuration required! However, I have two questions:

  1. Having the "Return to _____ page" link at the very top of the page seems awkward - people aren't going to want to return to that page right away before getting directions! Having it down at the the bottom after the map and/or directions seems like it would make more sense (maybe in the big block of white space beneath the map, to the left of the directions?). Is there any way to move it? I checked the module files to see if there was a template file I could edit, but the only one I saw was for use with Colorbox.
  2. Also, since it does not seem to automatically add a link to the directions page to pages with location fields, what method do people usually use for adding one? A custom PHP block, or a view with a contextual filter, or what?

Comments

hutch’s picture

1) You can do this in theming by copying function theme_getdirections_show() to your theme's template.php, renaming it to mytheme_getdirections_show where "mytheme" is your theme's name. There you can edit the output to suit your needs.

2) Use Views. Enable the supplied view "getdirections" which will create a block which you should enable wherever you might want it to appear.

Read the supplied README.txt