Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Removing breadcrumbs
Avatar
Steve Bellamy
Rookie
Free Members
sp_UserOfflineSmall Offline
Jan 27, 2014 - 3:54 pm

I have a very simple forum on my website and would like to remove the breadcrumbs displayed at the top.

As I only have one forum in one group there is no need to display "Home", or "Forum". A simple link to return to the main forum page would suffice.

You can see my forum here:

http://www.drivingroute66.com

 

Can anyone help?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 27, 2014 - 4:58 pm

I would suggest removing them totally. To do this you need to make a small change to one of forum templates. In this case the template spHead.php which can be found in the /templates folder of the SP theme you are using. You can edit this with our theme editor admin panel.

Find the display function that displays the breadcrumbs. This is called sp_BreadCrumbs().

Simply remove the line for that function -= or comment it out (put a hash - # - at the start of the line of code.

Of course - as always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/.....g-a-theme/). This only takes a few minutes...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Steve Bellamy
Rookie
Free Members
sp_UserOfflineSmall Offline
Jan 27, 2014 - 5:31 pm

Thanks for that - it works a treat. The only problem now is that because I've removed it completely there's no way of returning back to the forum from browsing a thread. Is there a work-around?

Avatar
Steve Bellamy
Rookie
Free Members
sp_UserOfflineSmall Offline
Jan 27, 2014 - 5:34 pm

Removing the "&tree" makes it look a little prettier at least but still no need to display a link to the home page or the forum page. 

*The same can be achieved by just changing a 0 to a 1*

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Jan 27, 2014 - 8:00 pm

You may just want to get rid of the Group View.

Try going to Forum Admin > Options - General Display Settings and turn on Skip Group View on Single Forum Sites.

Then adjust you breadcrumbs accordingly.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 27, 2014 - 8:48 pm

or if Brandon's still doesnt get you happy, you can always just insert the link to the home page yourself...  where you deleted the breadcrumb template function, just manually output the link...  you can output anything just about anywhere you want in the theme template files...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620