A A A
Avatar
Search
Forum Scope






Start typing a member's name above and it will auto-complete

Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_Print general-topic
Removing/Changing 'Home' Breadcrumb
Avatar
Stan Dahl

Forum Posts: 73
Member Since:
Apr 23, 2014
sp_UserOfflineSmall Offline
1
May 10, 2014 - 12:00 pm
sp_Permalink sp_Print

Is it possible to remove the ‘Home’ breadcrumb or change the link?

Our site has a ‘Coming Soon’ message on the main URL and there’s no link to the forum on that home page.

I’d rather not have that Home button or link it to the Forum home page.

Can that be done?

Thanks.

Avatar
Mr Papa
Simi Valley, CA

Forum Posts: 19448
Member Since:
Dec 10, 2006
sp_UserOfflineSmall Offline
2
May 10, 2014 - 12:02 pm
sp_Permalink sp_Print

see:  http://codex.simple-press.com/…..eadcrumbs/

third example shows how to remove home link…

Avatar
Stan Dahl

Forum Posts: 73
Member Since:
Apr 23, 2014
sp_UserOfflineSmall Offline
3
May 10, 2014 - 12:23 pm
sp_Permalink sp_Print

Thanks.

Would I add that code to the file located: simple-press/forum/content/sp-common-view-functions.php ?

I’m not a code guy and it’s not real clear.

 

Thanks

Avatar
Mr Papa
Simi Valley, CA

Forum Posts: 19448
Member Since:
Dec 10, 2006
sp_UserOfflineSmall Offline
4
May 10, 2014 - 12:55 pm
sp_Permalink sp_Print

No you have to make the changes in your sp theme you are using…  as always, we recommend you make your theme vice editing one of ours to keep from losing changes (this will get easier in 5.5. with child themes)… see:  http://codex.simple-press.com/…..g-a-theme/

then you edit the spHead.php template file in your theme… find the use of template function sp_BreadCrumbs() and change the arguments to match the example in the codex.. ie:

sp_BreadCrumbs(‘tagClass=spLeft spBreadCrumbs&tree=1’);

sp_AnswersTopicAnswer
Answers Post
Avatar
Stan Dahl

Forum Posts: 73
Member Since:
Apr 23, 2014
sp_UserOfflineSmall Offline
5
May 11, 2014 - 8:13 am
sp_Permalink sp_Print

That did the trick.

Thanks for the help!

Avatar
Mr Papa
Simi Valley, CA

Forum Posts: 19448
Member Since:
Dec 10, 2006
sp_UserOfflineSmall Offline
6
May 11, 2014 - 9:24 am
sp_Permalink sp_Print

your are welcome.  glad to help.

Avatar
Christopher Paris

Forum Posts: 36
Member Since:
Jul 1, 2015
sp_UserOfflineSmall Offline
7
Jul 10, 2015 - 4:29 pm
sp_Permalink sp_Print

Link originally provided to the solution is dead now… can someone post an updated link?

Thanks.

Avatar
Ike
Sawtry, UK
Forum Posts: 2086
Member Since:
Mar 19, 2014
sp_UserOfflineSmall Offline
8
Jul 10, 2015 - 4:50 pm
sp_Permalink sp_Print

Hey Christopher,

Here is the link to Creating a Child Theme

As for the ‘solution’, are you looking to also remove the home link?

If so, take a look at the arguments for sp_BreadCrumbs

Further down the page you will have examples of how to change the breadcrumb behaviour including removing / changing the home link.

FYI, the Codex used to be it’s own entity but has been merged within this site. You can still access it from the menu in the right sidebar “Codex Pages” and also the search directly underneath that.

The following users say thank you to Ike for this useful post:

Christopher Paris
Avatar
Christopher Paris

Forum Posts: 36
Member Since:
Jul 1, 2015
sp_UserOfflineSmall Offline
9
Jul 10, 2015 - 6:43 pm
sp_Permalink sp_Print

That’s what I needed, thanks. 

Avatar
Mr Papa
Simi Valley, CA

Forum Posts: 19448
Member Since:
Dec 10, 2006
sp_UserOfflineSmall Offline
10
Jul 10, 2015 - 8:38 pm
sp_Permalink sp_Print

glad we could help!

Forum Timezone: America/New_York
Most Users Ever Online: 444
Currently Online:
24
Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Ike: 2086
Brandon: 864
kvr28: 804
jim: 614
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 357
Stefano Prete: 325
Carlos: 291
Newest Members:
Savaş Kılıç
Gokysmoke
Irvin John
Matthews Dave
Christian Baker
Lennon John
Forum Stats:
Groups: 7
Forums: 17
Topics: 9869
Posts: 78604

 

Member Stats:
Guest Posters: 601
Members: 16609
Moderators: 0
Admins: 3
Administrators: elindydotcom, Simple Press, SP Community Support