[support] use of cck_map theme. how ?
Davide Michel 'ZioBudda' Morelli
michel at ziobudda.net
Fri Apr 4 10:47:11 UTC 2008
Davide Michel 'ZioBudda' Morelli ha scritto:
> Hi, I have installed the cck_map module, It works. I can add marker
> and in the normal "node/X" page I can see the image map.
> Now I need to create my theme, but I have not understand how can I
> integrate the cck_map field into my theme.
Solved :D
$field['widget']['label']= 'mappa';
$field['widget']['mapx'] = 400;
$field['widget']['mapy'] = 300;
$field['widget']['always_display'] = true;
$field['field_name'] = 'field-map';
$output .= cck_map_field('view',$node, $field,
$node->field_map,'','');
where the "map" of "field-map" is the machine's name that I have choise
when I have created the field.
M.
--
Michel 'ZioBudda' Morelli michel at ziobudda.net
Consulenza sistemistica in ambito OpenSource.
Sviluppo applicazioni web dinamiche (LAMP+Ajax)
Telefono: 0200619074
Telefono Cell: +39-3939890025 -- Fax: +39-0291390660
http://www.ziobudda.net ICQ: 58351764
http://www.ziobuddalabs.it Skype: zio_budda
http://www.ajaxblog.it MSN: michel at ziobuddalabs.it
JABBER: michel at gmail.com
More information about the support
mailing list