THEMING.txt in GMap Module 5
** Work in progress **
Node Markers:
function theme_{nodetype}_gmapnodelabel($node, $opt);
function theme_gmapnodelabel($node, $opt);
$opt is an extra parameter passed by the dynamic info box loader.
Example:
<?php
function theme_image_gmapnodelabel($n) {
$out = '<a href="'. url('node/'. $n->nid) .'">'. check_plain($n->title) .'</a> <br>';
$out .= image_display($n, 'thumbnail');
return $out;
}
?>
File
THEMING.txt
View source
- ** Work in progress **
-
- Node Markers:
-
- function theme_{nodetype}_gmapnodelabel($node, $opt);
- function theme_gmapnodelabel($node, $opt);
-
- $opt is an extra parameter passed by the dynamic info box loader.
-
- Example:
- function theme_image_gmapnodelabel($n) {
- $out = ''. check_plain($n->title) .'
';
- $out .= image_display($n, 'thumbnail');
- return $out;
- }
- ?>
-