Forums / Developer / Breadcrumb's problem : please help! / Comment39545
SathishKumar Subramanian
Friday 09 January 2004 3:09:53 am
Hi,
Thanks for your reply. I had checked that page_toppath.tpl . Also in my breadcrumb code I tried to get path details using the namespace correction and tried with {$module_result.path|attribute(show)} to get $module_result details. But not succeeded.current code :
{section show=ne($node.node_id,115)} <a href="/">Home</a> {section name=Path loop=$module_result.path offset=1 max=-1} <span style="color: black"> > </span> <a href={$:Path:item.url|ezurl}>{$:Path:item.text}</a> {/section}{/section}
But while using the following code I can get the actual folder paths
{section show=is_set($DesignKeys:used.node)} {let node=fetch(content,node,hash(node_id,$DesignKeys:used.node))} {section name=Node loop=$node.path_array} {section-exclude match=array(1,2)|contains($:item)} {* Skip root nodes *} {* Replace the next line with something that fetches translations *} {fetch(content,node,hash(node_id,$:item)).name} {/section} {/let} {section-else} {* Show normal path *} {/section} Could you please provide additional info to get the breadcrumbs?
Sathizh