Search the Community
Showing results for tags 'BREADCRUMB'.
-
Greetings! I have customized all of the WHMCS breadcrumbs to my liking, except for one stickler on the following page: whmcs/index.php?rp=/domain/pricing. I cannot seem to custom this page exclusively with elseifs in template/twenty-one/breadcrumbs.tpl or by adding a hook to include/hooks. I know the $filename is "index" but I do not know the proper variable to add (&& $??? eq "???") to pair with this specific page. {elseif $filename eq "index" && $??? eq "???"} <ol class="breadcrumb"> <li class="breadcrumb-item"> <a href="/">Home</a> </li> <li class="breadcrumb-item"> <a href="whmcs/clientarea.php">Clients</a> </li> <li class="breadcrumb-item "><a href="whmcs/index.php">Shopping Cart</a> </li> <li class="breadcrumb-item active" aria-current="page">Domain Pricing </li> </ol> If no && variable is defined in addition to the index $filename the elseif will change multiple pages. I.e. Anything starting with "index.php" such as whmcs/index.php?rp=/account/paymentmethods, whmcs/index.php?rp=/account/users, whmcs/index.php?rp=/user/profile, etc. Those pages are already working fine with the WHMCS defaults. I need to update the breadcrumbs on the whmcs/index.php?rp=/domain/pricing page only. Everything else is intact. Hope that makes sense! Thanks in advance!
-
Howdy WHMCS Community, using WHMCS 7.4.1 I was wondering how I could tweak / adjust the breadcrump for knowledgebase. It looks like when I use {debug} the top level or parent category isn't loaded on the article page. kb home > cat 1 > subcat 2 > kb article OR kb home > cat 1 > subcat 2 > subcat 3 > kb article (what i desire) kb home > cat 2 > kb article (what it currently is) The breadcrumbs just remove and wipe out the parent cat. Might you know of a hook to possible to display full breadcrumb?
- 5 replies
-
- breadcrumb
- knowledgebase
-
(and 1 more)
Tagged with:
-
How do I output targeted URL page title? Maybe I can combine {$LANG } + value hometitle => "Home" and than I can just update my lang file with a custom output for the middle? {$displayTitle} displays CURRENT page not targeted page. When I activated {debug} I can see exactly what I desire. See how it says link than label? How do I output that specific link label using Smarty Template Variable? $breadcrumb Smarty_Variable Object (3) ->value = Array (3) 0 => Array (2) link => "index.php" label => "Home" 1 => Array (2) link => "../hosting.php" label => "Hosting" 2 => Array (2) link => "ssd-hosting.php" label => "SSD Hosting" ->nocache = false ->scope = "file:public_html/templates/..." I'm just trying to optimize code for breadcrumb.tpl file. It's a stock SIX theme file but take note of how I added title="{$title}" to the <a>. <ol class="breadcrumb"> {foreach $breadcrumb as $item} <li{if $item@last} class="active"{/if}> <a href="{$item.link}" title="{$title}"> <span>{$item.label}</span> </a> </li> {/foreach} </ol>
-
- breadcrumb
- breadcrumb seo
-
(and 3 more)
Tagged with:
