Jump to content

Remove breadcrumbs on custom pages


Recommended Posts

No, this didn't exactly work as planned..

 

I put $ca->assign("notitle", "yes"); in my .php file

 

In my pageheader.tpl I have this:

{if $notitle=="yes"}  
{else}  
<div class="header-lined">
   <h1>{$title}{if $desc} <small>{$desc}</small>{/if}</h1>
   {if $showbreadcrumb}{include file="$template/includes/breadcrumb.tpl"}{/if}
</div>
{/if}

 

However, if notitle=yes, then NO code is shown on the custom page, even when I add code to the .tpl file.

Link to comment
Share on other sites

Ok, can you please change it as the following:

{if $notitle!="yes"}
<div class="header-lined">
   <h1>{$title}{if $desc} <small>{$desc}</small>{/if}</h1>
   {if $showbreadcrumb}{include file="$template/includes/breadcrumb.tpl"}{/if}
</div>
{/if}

 

also make sure it is the same template

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated