Support Forum
Yellow Swordfish said
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.
Worked like a charm!
No, its just a modification to standard non tree breadcrumbs... a little css magic and some images...
Brandon C did the work for our theme, so I will let him give you some tips when he stops by the forum... you could of course, inspect the css here to see what is done... >
Visit Cruise Talk Central and Mr Papa's World
you would want to put any css files in your sp theme, the main theme file - not the overlay...
additionally, you will need to grab the 3 images we use... and put the following in your spFunctions.php file for the sp theme..
/* Functions for Breadcrumb Z-Index Sorting */ function spSortBreadcrumbs($breadCrumbs, $a='', $crumbEnd='', $crumbSpace='', $treeCount='') { global $no; $no = substr_count($breadCrumbs, 'spLink') + 2; $breadCrumbs = preg_replace_callback( '|href=|', create_function( '$matches', 'global $no; $no--; return \'ID="BreadcrumbPosition\'.$no.\'" \" style="z-index:\'.$no.\'" \'.$matches[0];' ), $breadCrumbs); return $breadCrumbs; } add_filter('sph_BreadCrumbs', 'spSortBreadcrumbs');
so, yeah, sorry a bit more than just css... the above php code is adding in some z-index css to control display...
If the custom php and css is too much, you can always contact Brandon via the Custom SP Theme Work banner in the right sidebar...
Visit Cruise Talk Central and Mr Papa's World
No worries - that's why we are here... Thanks for the kind words! Nice to hear now and then...
Visit Cruise Talk Central and Mr Papa's World
@Duke Leto III - Diid you enter the actual link into the code after homeLink=?
@Matthew Bonner - Let us know if you need any help but the code and images are really in a beta mode step. What Mr. Papa posted works but there is a small syntax error in the breadcrumbs function and the images need to be combined for better user interaction.
@Mr Papa - You double posted #25 & #26. PBE issue?
1 Guest(s)