SimplePortal

Customization => Themes and Graphics => Topic started by: Stigmartyr on July 14, 2010, 03:34:09 AM

Title: Remove Breadcrumb from Portal Page
Post by: Stigmartyr on July 14, 2010, 03:34:09 AM
Hello,
It's that time of year for tweaking my site :P  My question was how to remove the breadcrumb from showing on the front page or portal page and not affecting it's display in the forum.

I just want the SP front page to not show it.  See screenshot.  I've tried digging through the SP files and SMF css and I'm stumped at the moment.. :(

Can some kind soul please point me in the right direction?  The breadcrumb on my front page is worthless and out of place.  It only becomes useful when navigating into the site.

(http://a.imageshack.us/img191/1738/exampledu.jpg)

www.StangNation.com
Title: Re: Remove Breadcrumb from Portal Page
Post by: [SiNaN] on July 14, 2010, 05:25:52 AM
Subs-Portal.php

Code: [Select]
                // If you want to remove Forum link when it is
                // alone, take out the following two comment lines.
                //if (empty($context['linktree'][1]))
                //      $context['linktree'] = array();

So remove the // from the last two lines.
Title: Re: Remove Breadcrumb from Portal Page
Post by: Stigmartyr on July 14, 2010, 12:55:23 PM
Subs-Portal.php

Code: [Select]
                // If you want to remove Forum link when it is
                // alone, take out the following two comment lines.
                //if (empty($context['linktree'][1]))
                //      $context['linktree'] = array();

So remove the // from the last two lines.


 8) Thank you Sinan - very nice
Title: Re: Remove Breadcrumb from Portal Page
Post by: amlucent on July 15, 2010, 05:12:02 PM
Oh wow.  Sinan can you make this a check box in the settings page on the next release?  pretty please?
Title: Re: Remove Breadcrumb from Portal Page
Post by: Stigmartyr on November 17, 2011, 10:09:47 AM
Oh wow.  Sinan can you make this a check box in the settings page on the next release?  pretty please?

Would be cool, cause it's one of the essential things I do to all our forums running SP.
Title: Re: Remove Breadcrumb from Portal Page
Post by: [SiNaN] on November 17, 2011, 05:00:27 PM
I usually don't add a setting for such little hacks but include a piece of code to make it easier to change.
SimplePortal 2.3.8 © 2008-2024, SimplePortal