MyBB Community Forums
Remove breadcrumb from portal. - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: Remove breadcrumb from portal. (/thread-122095.html)



Remove breadcrumb from portal. - kjaonline - 2012-07-08

How do I remove breadcrumb from the portal?


RE: Remove breadcrumb from portal. - Ariana - 2012-07-08

What is breadcrum?


RE: Remove breadcrumb from portal. - Yaldaram - 2012-07-08

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>



RE: Remove breadcrumb from portal. - kjaonline - 2012-07-08

(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?


RE: Remove breadcrumb from portal. - Ariana - 2012-07-08

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?


RE: Remove breadcrumb from portal. - kjaonline - 2012-07-08

Nope, I followed the first one.


RE: Remove breadcrumb from portal. - Ariana - 2012-07-08

You should follow the second one as well then it will remove ur forum name from your portal


RE: Remove breadcrumb from portal. - kjaonline - 2012-07-08

(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.