Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Breadcrumbs nested or on a single line
Avatar
Conrad_Farlow
Sheffield, UK
Member
Free Members
sp_UserOfflineSmall Offline
Aug 2, 2011 - 6:31 am

Previously you could select how breadcrumbs were displayed, either nested or on a single line. I prefer a single line as does my whining mate paul4. Can we have that back please?

Conrad

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 2, 2011 - 7:46 am

One of the major points about moving to themes and templates is that display options should now be set by the tags - not by hard coded options. The problem - I do appreciate - is that there is no documentation for these as yet but of you want to make this change let me know and I will tell you where and how.

Oh - why wait!

The template is the spHead.php

The tag is:

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

Just change the 'tree' parameter from 1 to a zero.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Lee H
Coastal New England (USA)
Member
Free Members
sp_UserOfflineSmall Offline
Aug 2, 2011 - 8:13 am

I'm not much of a tree person either. It's the first thing I straightened out with the theme I was messing with.

 

Yellow Swordfish said:

Oh - why wait!

The template is the spHead.php

The tag is:

Heh, heh... Andy sounded like a infomercial.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 2, 2011 - 8:15 am

😉

 

options in the admin bye bye...  now args to template tags... yeah!

just take some getting used to...

Avatar
scotchpotch
Scotland
Member
Free Members
sp_UserOfflineSmall Offline
Sep 12, 2011 - 2:17 pm

Re Breadcrumbs....

 

The single line fix worked fine, as above, but I didn't want the Home link to show at the start of the Breadcrumbs...

 

Changing  spBreadCrumbs&tree=0', __sp('Home')); to spBreadCrumbs&tree=0'); in the sphead.php file worked fine, but I'm left with two arrow icons next to the forum name instead of one.....

 

 

How do I fix this?

Avatar
Lee H
Coastal New England (USA)
Member
Free Members
sp_UserOfflineSmall Offline
Sep 12, 2011 - 2:23 pm

try adding &homeLink= to your args

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 12, 2011 - 10:14 pm

nailed it Lee!

Avatar
neon
Member
Free Members
sp_UserOfflineSmall Offline
Dec 13, 2011 - 2:56 pm

Mr Papa said

 

options in the admin bye bye...  now args to template tags... yeah!

 

Why?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 13, 2011 - 3:06 pm

Because it's all a part of being theme and template driven.

andy-signature.png
YELLOW
SWORDFISH
Avatar
neon
Member
Free Members
sp_UserOfflineSmall Offline
Dec 13, 2011 - 3:54 pm

Yellow Swordfish said

Because it's all a part of being theme and template driven.

But then to make changes like breadcrumbs, you have to go into the core template file and do it. This is not good for newbs or people who do not edit core files. The way you guys had it before (make changes in the admin panel) was perfect as it was confused

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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626