Thursday 30 July 2009 10:41:15 am
Hi, now I'm going to ask you some basics relating to your system:
Your "Specials" folder is NodeID 137? Inside this folder is an article "Make The Most Of Your Stay At Our London" with NodeID 64?
You have an override setting for the pagelayout for specials!? - And this template named "concierge.tpl"? Antoher override settings tells eZ to fetch specials.tpl if you're on the NodeID 137? (class or node override)
In your folder 137 you want to display the whole 64 site? first: did you move your 64 node to the 137 folder? or why is the id of the article higher that of the containing folder?
Structure:
---------------------------------------------
Specials (NodeID 137)
|-Make The Most...(NodeID 64)
|-... --------------------------------------------- If all of the previous questions are true:
{def $specials=fetch( 'content', 'node', hash( 'node_id', 137) )}
<a href="{$specials.url_alias|ezurl(no)}">{$specials.name|wash()}</a>
should also link to the Specials folder. Inside this folder template you can fetch the children
{def $children=fetch( 'content', 'list', hash( 'parent_node_id', 137) )}
You will get an array of eZContentObjectTreeNode's which can be handled as described in previous posts. For example:
{foreach $children as $child}
{$child.name|wash()}
{/foreach}
Mit freundlichen Grüßen
Best regards
Max Keil
____________________________________________________________
eZ Publish Gold Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh
|