I would like to have in my navipath current page too. For example:
I am in homepage- (You are here: Homepage) I am in products-new products (You are here: Homepage - Products - New Products or You are here: Products - New Products
I was able to circumvent around this problem by taking navipath out from container.tpl and putting it to pages_default.tpl.
I would put it BEFORE the <div id="page"> and then add the $aData[sName] right behind the navipath link before navipath div closes. With some custom styling this will look like one nice full navipath like you want. The page name would not be clickable, though, why should it, you're on that particular page after all anyway.
kalanta
2009-09-06 19:53
I know this solution, but I need other solution (PHP) at this time.
in actions_client/p.php there is a line: $aData['sPagesTree'] = $oPage->throwPagesTree( $iContent );
After this line add another one: $aData['sPagesTree'] .= ' » <a href="?'.$oPage->aPages[$iContent]['sLinkName'].'">'.$aData['sName'].'</a>';
Tested. Works well. Thanks for helping me the other time.
kalanta
2009-09-07 09:47
Yes, it works well, but... I would like to have this navipath visible than I am in product description page too. Now I don't see my top navipath - I have ProductsPagesTree only (I don't need this). I need my one navipath visible all the time in the same place. The navipath must be in container only.
Oh I see. Here is the code: in actions_client/products.php, after line: $aData['sPages'] = $oProduct->throwProductsPagesTree( $iProduct ); add following: