map output in theme (node-NODETYP.tpl.php)
TaPes - April 3, 2009 - 10:35
| Project: | cck_map |
| Version: | 5.x-3.3 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
hey,
i created a view and a theme for my nodetyp.
that nodetyp has also a cck_map included, but the problem is, that that map is not showing up.
i tried this:
<?php print $node->content['field_FIELDNAME']['#widget'] ?>this:
<?php foreach ((array)$field_FIELDNAME as $item) { ?>
<?php print $item['view'] ?>
<?php } ?>and a lot of other...
please help me.
thx

#1
ok it works with:
<div id="field-FIELDNAME0mapArea" class="mapArea" style="width: XXXpx; height: XXXpx; position: relative;"></div>#2