Support Forum

Breadcrumbs at the bottom.

MO mike olson
mike olson
Member

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.png

 

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. 

3 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

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?

MO mike olson
mike olson
Member

Because I didn’t know I could. Ha!

 

I knew there had to be a better way. 

YS Yellow Swordfish
Yellow Swordfish
Member

🙂
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…