HOWTO: Remove "Home" & "WIKI+ Home" from breadcrumbs
Posted
#785
(In Topic #161)

Standard member

Templates: BREADCRUMB_LINK_WRAP.tpl & BREADCRUMB_SEPARATOR.tpl
As always, do not use the default templates but rather "templates_custom" from your theme. I've noticed a change here from older versions, ocPortal days: selecting Templates from dropdown menu on the footer, clicking on the desired template then clicking "save" or "save and stay" was enough to generate a template copy in your themes/templates_custom folder. This no long works. To get around this, I simply add:
Code
<!--copy-->
In this example, I wanted to remove "Home" & "WIKI+ Home" from the breadcrumb trail. Change the code in BREADCRUMB_LINK_WRAP.tpl add the following:
Code
{+START,IF,{$NEQ,{LABEL*},Home,Wiki+ home}}ORIGINAL_CODE_STILL_HERE<span class="sep"><span class="accessibility_hidden"> →</span></span> {+END}
"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved
just peace, unity, tolerance and love" - The Beloved
1 guest and 0 members have just viewed this.