[TYPO3-english] help with breadcrumbs via TS
Riccardo De Contardi
riccardo.decontardi at bhuman.it
Wed Apr 21 13:19:10 CEST 2010
Hello everybody. Please a little help
First, this is the TS Setup I currently use to generate a breadcrumbs
trail:
lib.breadcrumbs = HMENU
lib.breadcrumbs.excludeDoktypes=6
lib.breadcrumbs.includeNotInMenu = 1
lib.breadcrumbs.special = rootline
# Breadcrumbs menu-object, textual
lib.breadcrumbs.1 = TMENU
lib.breadcrumbs.1 {
noBlur = 1
# Normal state properties
NO.after = >
NO.ATagParams.dataWrap = title="{field:title}"
NO.stdWrap.htmlSpecialChars = 1
CUR = 1
CUR.doNotLinkIt = 1
CUR.allWrap = <strong> | </strong>
}
Now, I'd like to add to each anchor a class that tells the level of the
page, but... in reverse order! I'll explain myself better:I'd want to
obtain something like:
<a class="l1"> <strong>
<a class="l2"> <a class="l1"> <strong>
<a class="l3"> <a class="l2"> <a class="l1"> <strong>
<a class="l4"> <a class="l3"> <a class="l2"> <a class="l1"> <strong>
and so forth
Is it possible? How? Thanks!
--
--------------------------------------------
Riccardo De Contardi - Web Developer
B Human Srl - www.bhuman.it
Via Canzio, 15 - 20131 Milano
TEL +39-02-20.23.271 - FAX +39-02-20.240.561
--------------------------------------------
More information about the TYPO3-english
mailing list