Saturday 26 July 2008 8:49:47 am
Hi guys I am adapting the pagelayout template, as I need a banner object (as in the default frontpage template) to be show in all pages. I have the standard banner code:
{if $node.object.data_map.billboard.has_content}
<div class="attribute-billboard">
{content_view_gui view=billboard content_object=$node.object.data_map.billboard.content}
</div> {/if}
From what I can see though, the pagelayout template does not have the $node variable. How can I access this? I am seeing the current node ID from the pagelayout template ($current_node_id) which is fine, but I really need to access the object data map to get the billboard.
Any ideas? Your help would be fantastic. Many thanks, Matt
|