Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 9 Years, 6 Months, 1 Week ago Remove breadcrumb from portal.
#1
Solved: 9 Years, 6 Months, 1 Week ago
How do I remove breadcrumb from the portal?
#2
Solved: 9 Years, 6 Months, 1 Week ago
What is breadcrum?
[Image: xoa.png]
#3
Solved: 9 Years, 6 Months, 1 Week ago
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>
#4
Solved: 9 Years, 6 Months, 1 Week ago
(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?
#5
Solved: 9 Years, 6 Months, 1 Week ago
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?
[Image: xoa.png]
#6
Solved: 9 Years, 6 Months, 1 Week ago
Nope, I followed the first one.
#7
Solved: 9 Years, 6 Months, 1 Week ago
You should follow the second one as well then it will remove ur forum name from your portal
[Image: xoa.png]
#8
Solved: 9 Years, 6 Months, 1 Week ago
(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.
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)