webgonet Posted February 28, 2019 Share Posted February 28, 2019 Hi! there, first, for the moderator: if I posted in the wrong area, please move the post to wherever it should be posted. My apologies are forthwith. now. bellow is the code available on all pagename.php files on the root of whmcs. =========== <?php define("CLIENTAREA",true); define("FORCESSL",true); // Uncomment to force the page to use https:// require("init.php"); $ca = new WHMCS_ClientArea(); $ca->setPageTitle("Custom Page"); $ca->addToBreadCrumb('index.php' , 'Home'); $ca->addToBreadCrumb('no-link-here' , 'Custom Text'); $ca->addToBreadCrumb('custompage.php','Custom Page'); $ca->initPage(); ============ I would like to set add a "non-linked" item to breadcrumbs. something as the item outlined in red above. any help would be greatly appreciated. thank you! regards ... 0 Quote Link to comment Share on other sites More sharing options...
steven99 Posted February 28, 2019 Share Posted February 28, 2019 It will likely still show as a link, but what about using a "#" for the link url? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 1, 2019 Share Posted March 1, 2019 17 hours ago, webgonet said: I would like to set add a "non-linked" item to breadcrumbs. something as the item outlined in red above. any help would be greatly appreciated. thank you! you could edit /templates/six (or custom)/includes/breadcrumb.tpl as it's the template that's adding the links... <ol class="breadcrumb"> {foreach $breadcrumb as $item} <li{if $item@last} class="active"{/if}> {if !$item@last}<a href="{$item.link}">{/if} {$item.label} {if !$item@last}</a>{/if} </li> {/foreach} </ol> 0 Quote Link to comment Share on other sites More sharing options...
webgonet Posted April 15, 2019 Author Share Posted April 15, 2019 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.