Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
requests-topic
Breadcrumbs at the bottom.
Avatar
mike olson
Member
Offline
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. 

Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
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?

andy-signature.png
YELLOW
SWORDFISH
Avatar
mike olson
Member
Offline
Mar 8, 2017 - 8:55 am

Because I didn't know I could. Ha!

 

I knew there had to be a better way. 

Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
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...

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625