Support Forum

The breadcrumbs at the top are not showing the name of the Forum Group

AG Aimee Graeber
Aimee Graeber
Member
The breadcrumbs at the top are not showing the name of the Forum Group (Global Fund) that user is currently in.
It does correctly show the Forum name (Advisor Fees) and the Topic (Benefit Link) but since there are 4 Forum Group (4 Ubers) it would be nice if it could show the user which group they are in.

The URL does show the Forum Group (Global Fund), but not the Forum (Advisor Fees).

3 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

URL’s do not have the forum group included but it IS possible to easily include them in the breadcrumbs. This requires an extra argument to be passed in the template function. You can edit the template in the SP theme editor.

In this case the template is spHead.php and scroll down until you find the function that displays the  breadcrumbs. B y default iot will probably look like this:

sp_BreadCrumbs('tagClass=spLeft spBreadCrumbs&tree=1', __sp('Home'));

You need to add an argument named ‘groupLink and set it to 1 – like this:

sp_BreadCrumbs('tagClass=spLeft spBreadCrumbs&tree=1&groupLink=1', __sp('Home'));

Note the capitalisation and use of the ampersand as separator.

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/)

YS Yellow Swordfish
Yellow Swordfish
Member

You’re welcome. Sounds like it worked OK.