Support Forum

Breadcrumbs at the bottom.

1
mike olson
Member
Mar 8, 2017 - 12:31 am

Not sure if this was possible to do any other way but I added the breadcrumbs at the bottom of our forum listing and topic listing by copying and modifying a couple of files.

 

first the template spHead.php modified to the attached spLowerBreadcrumbs

then the /templates/desktop/spHeadDesktop.php to the attached /templates/desktop/spLowerBreadcrumbsDesktop.php

 

I then inserted the following bit of code into the spForumViewDesktop.php and spTopicViewDesktop.php where it was suitable.

# ><><><><><><><><><><><><><><><><><><><><><><><><><><>
# Load the lower breadcrumbs
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spHeadContainer', 'head');
/* sp_load_template('spHeadLower.php');*/
sp_load_template('spLowerBreadcrumbs.php');
sp_SectionEnd('', 'head');
# ><><><><><><><><><><><><><><><><><><><><><><><><><><>

 

A little css after that and it came out looking fairly nice:

Screen-Shot-2017-03-07-at-11.27.03-PM.pngImage Enlarger

 

The attached php files are uploaded as .txt files and they are hacks as I didn't even change the headings on them.

If there is any suggestions for improving or if there is already an easier method I'd love to hear it. 

Yellow Swordfish
Glinton, England
Member
Mar 8, 2017 - 3:06 am

I think my only question is the obvious one...  why did you not just re-use the sp_BreadCrumbs() function? Would not that have been easier?

mike olson
Member
Mar 8, 2017 - 8:55 am

Because I didn't know I could. Ha!

 

I knew there had to be a better way. 

Yellow Swordfish
Glinton, England
Member
Mar 8, 2017 - 9:17 am

🙂
Yes - you can copy and re-use; move the display tags about to do things in a different sequence; replace whole display tags with custom ones! Etc...

1