Closed (fixed)
Project:
GMap Module
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Apr 2007 at 21:27 UTC
Updated:
14 Sep 2009 at 02:45 UTC
My knowledge of theming is still limited, but I have done CCK node as well as List type View theming (with the help of the Views Theme Wizard). I would like to see a comprehensive guide on theming a gmap_view-generated map including both the map container itself and the infoWindow contained CCK nodes.
These threads give hope, but it's not clear how to "tap in" to the gmap-generated view the way you normally do in a List type View from template.php:
on map layout: http://drupal.org/node/130671
on infowindow: http://drupal.org/node/128857
Comments
Comment #1
texas-bronius commentedOn my road to enlightenment.. I see that my custom CCK theme works when I hit /map/node. How does this differ from theming a views gmap (which I would of course prefer to use)?
Comment #2
binford2k commentedmap/node uses the standard theming system.
views gives you more flexibility in how things are presented. You can override many (if not all) of the presentation functions. For some help getting started, install the views theme wizard and look at some of the code it generates for you.
Comment #3
texas-bronius commentedPrior to this request, gmap views were not themable. Since this time, a theme hook has been added to allow nodes shown in a gmap view to be themed.
Comment #4
texas-bronius commentedComment #5
jimdunntx commentedcould someone give an example of theming for the pop ups with this hook.
Comment #6
njehlen commentedAn example of this in use would be really helpful.
Comment #7
texas-bronius commentedhandbook on how to theme drupal gmap views including tabs!! :D
Comment #8
rdrew commentedIs this possible yet in drupal 6????