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

texas-bronius’s picture

On 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)?

binford2k’s picture

map/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.

texas-bronius’s picture

Component: Documentation » Code
Status: Active » Fixed

Prior 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.

texas-bronius’s picture

Status: Fixed » Closed (fixed)
jimdunntx’s picture

could someone give an example of theming for the pop ups with this hook.

njehlen’s picture

An example of this in use would be really helpful.

texas-bronius’s picture

handbook on how to theme drupal gmap views including tabs!! :D

rdrew’s picture

Is this possible yet in drupal 6????