MyBB Community Forums

Full Version: Remove breadcrumb from portal.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do I remove breadcrumb from the portal?
What is breadcrum?
Two ways, either remove it from the core file or edit the header template. Follow any of the following methods which you think suits you the best;

To remove it from core file:
--------------------------
Open ./portal.php and find;
add_breadcrumb($lang->nav_portal, "portal.php");
and Comment it out like this;
// add_breadcrumb($lang->nav_portal, "portal.php");

To remove it from header template:
---------------------------------
Install PHP in template plugin: http://community.mybb.com/thread-31860.html

AdminCP > Templates > Your theme's templates > Header Templates > header > find the following;
<navigation>
and Change it into;
<if THIS_SCRIPT != "portal.php" then><navigation></if>
(2012-07-08, 04:23 AM)Yaldaram Wrote: [ -> ]Two ways, either remove it from the core file or edit the header template. Follow any of the following methods which you think suits you the best;

To remove it from core file:
--------------------------
Open ./portal.php and find;
add_breadcrumb($lang->nav_portal, "portal.php");
and Comment it out like this;
// add_breadcrumb($lang->nav_portal, "portal.php");

To remove it from header template:
---------------------------------
Install PHP in template plugin: http://community.mybb.com/thread-31860.html

AdminCP > Templates > Your theme's templates > Header Templates > header > find the following;
<navigation>
and Change it into;
<if THIS_SCRIPT != "portal.php" then><navigation></if>


You're my hero! Big Grin

Okay I was able to remove the breadcrumb from the portal but the name of my forum is still there. How do I remove that as well?
Quote:Install PHP in template plugin: http://
community.mybb.com/thread-31860.html
AdminCP > Templates > Your theme's
templates > Header Templates > header >
find the following;
PHP Code:
<navigation>
and Change it into;
PHP Code:
<if THIS_SCRIPT != "portal.php"
then><navigation></if>

Did you follow this step?
Nope, I followed the first one.
You should follow the second one as well then it will remove ur forum name from your portal
(2012-07-08, 04:44 AM)JamieJackson Wrote: [ -> ]You should follow the second one as well then it will remove ur forum name from your portal

I see. Thanks!

(2012-07-08, 04:44 AM)JamieJackson Wrote: [ -> ]You should follow the second one as well then it will remove ur forum name from your portal

Oh man, it works! thanks so much bro.