Support Forum

A way to get the GROUP into the breadcrumbs?

CB Christine Baker
Christine Baker
Member

I think it would make it much easier for users to navigate.  Is this easily doable?

14 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

You can do this now with a small edit to the template display function. The function sp_BreadCrumbs() in the spHead.php template of your SP theme can take an optional ‘groupLink’ argument that when set to 1 will include the group in the breadcrumbs.

If you know how to add/change arguments then thes are the details of the function: http://codex.simple-press.com/codex/api/template-functions-and-the-api/display-template-functions/common-view/sp_breadcrumbs/

Or we can walk you through it a little closer if you need it.

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/codex/themes/theme-basics/creating-a-theme/)

CB Christine Baker
Christine Baker
Member

Thanks, I had been looking at your codex and right now I’m too overwhelmed to get into templates.  I might just put the links to the groups instead of the forum title for now.

YS Yellow Swordfish
Yellow Swordfish
Member

Oh it really is very easy :)
Come on back if you change your mind.

Or – take a quick look at this thread: https://simple-press.com/support-forum/sp5-general-topics/link-to-forum-group-rather-than-forum/

CB Christine Baker
Christine Baker
Member

Thanks for that link!  Searched earlier, but missed that thread and put it on my watch list. 

I wouldn’t call it “very easy”, but I think it’s doable on a day when my brain isn’t overflowing.  I need a little more time to get used to all the forum options and get things set up right before I customize.

MP Mr Papa
Mr Papa
Member

okay. we will be here if you have any questions…

CB Christine Baker
Christine Baker
Member

A related question:

How do I link to a group and how are the URLs determined?

For example, for this group it’s https://simple-press.com/support-forum/sp5-general-topics/

Where did you set it up to be “sp5-general-topics”?

Looked around codex and group management, but didn’t see anything.

MP Mr Papa
Mr Papa
Member

the template tags plugin for SP has a way to display a group link… see:  http://codex.simple-press.com/codex/plugins/our-plugins/the-template-tags-plugin/template-tag-group-link/

or you can just put it out there yourself…  the url would be in the form:

https://simple-press.com/support-forum/?group=17

and then just that group would be shown on that page…  17 is of course, the group ID which you can get from the manage forums admin panel…

CB Christine Baker
Christine Baker
Member

Thanks again.  Really appreciate the excellent support here!

MP Mr Papa
Mr Papa
Member

high desert rat!  SE AZ.. place called Sonoita…  wine country in AZ…

CB Christine Baker
Christine Baker
Member

In the Joshua Tree desert between Skywalk (Grand Canyon West) and Lake Mead.

CB Christine Baker
Christine Baker
Member

I just created my own theme following your EXCELLENT instructions (idiot proof, even I could do it) and added the group as described in the other thread.  Very cool! 

Thanks!