Redactuk Posted October 4, 2009 Share Posted October 4, 2009 What I want to do is ONLY not display breadcrumbs on the root support/index page. I've searched various topics relating to manipulating the breadcrumbs and I can see how I might effectively blank it out with {$breadcrumbnav|replace:'Support':''} but of course i need to make this conditional to being on the index page only. Any ideas? Thanks 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted October 5, 2009 Share Posted October 5, 2009 This is what I use {if $smarty.server.PHP_SELF == '/cart.php' || $smarty.server.PHP_SELF == '/index.php'}{else} <h1>{$pagetitle}</h1> <p class="breadcrumb">{$breadcrumbnav|replace:' > ':' » '}</p> {/if} if you have whmcs in a subdirectory then change the file nameeg... '/whmcs/index.php' 0 Quote Link to comment Share on other sites More sharing options...
Redactuk Posted October 6, 2009 Author Share Posted October 6, 2009 That worked great. Thank you 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.