Parent Directory
|
Revision Log
|
Revision Graph
More 6.x porting. Did some theme function renaming for gmap_location to be more in line with the 6.x way of doing it.
| 1 | ** Work in progress ** |
| 2 | |
| 3 | Node Markers: |
| 4 | |
| 5 | function theme_{nodetype}_gmapnodelabel($node, $opt); |
| 6 | function theme_gmapnodelabel($node, $opt); |
| 7 | |
| 8 | $opt is an extra parameter passed by the dynamic info box loader. |
| 9 | |
| 10 | Example: |
| 11 | <?php |
| 12 | function theme_image_gmapnodelabel($n) { |
| 13 | $out = '<a href="'. url('node/'. $n->nid) .'">'. check_plain($n->title) .'</a> <br>'; |
| 14 | $out .= image_display($n, 'thumbnail'); |
| 15 | return $out; |
| 16 | } |
| 17 | ?> |
| 18 | |
| 19 | |
| 20 | Drupal 6 theming updates: |
| 21 | |
| 22 | *_gmapnodelabel changed to gmap_location_infowindow_node__*. |
| 23 | gmap_location_user_html changed to gmap_location_infowindow_user. |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |