Bug #42678
closed
HMENU special = rootline with FLUID Template Method
Added by Maximilian Anton Grimm about 12 years ago.
Updated about 12 years ago.
Description
Hello,
since i am using TYPO3 CMS 4.7.5
and the FLUID Template Method
page.10 = FLUIDTEMPLATE
I can´t use the special = rootline
in my HMENU TS to create a Breadcrumb Menu.
Everything else works fine.
If i delete the special - output is a normal navigation.
USEAGE:
/layout/default.html
<f:cObject typoscriptObjectPath="lib.breadcrumb" />
TS:
lib.breadcrumb = HMENU
lib.breadcrumb {
special = rootline
special.range = 1|-1
1 = TMENU
1 {
NO.linkWrap = <li>|</li> <span class="divider">/</span>
NO.stdWrap2.noTrimWrap = | | |
CUR < .NO
CUR = 1
CUR {
linkWrap = <li class="active">|</li>
doNotLinkIt = 1
}
wrap = <ul class="breadcrumb"><li><a href="/">MY SITE</a><span class="divider">/</span> |</ul>
}
}
- % Done changed from 0 to 100
- % Done changed from 100 to 0
Ok i got it !
Before i used:
lib.breadcrumb = HMENU
lib.breadcrumb {
special=rootline
special.range = 1|-1
1 = TMENU
1 {
NO.linkWrap = <li>|</li> <span class="divider">/</span>
NO.stdWrap2.noTrimWrap = | | |
CUR < .NO
CUR = 1
CUR {
linkWrap = <li class="active">|</li>
doNotLinkIt = 1
}
wrap = <ul class="breadcrumb"><li><a href="/">MY SITE</a><span class="divider">/</span> |</ul>
}
}
NOW i´m using:
// BREADCRUMB MENÜ
lib.breadcrumb = HMENU
lib.breadcrumb {
special=rootline
special.range = 0
1 = TMENU
1 {
NO.linkWrap = <li>|</li> <span class="divider">/</span>
NO.stdWrap2.noTrimWrap = | | |
CUR < .NO
CUR = 1
CUR {
linkWrap = <li class="active">|</li>
doNotLinkIt = 1
}
wrap = <ul class="breadcrumb"><li><a href="/">MY SITE</a><span class="divider">/</span> |</ul>
}
}
I only was to stupid because i testet the startpage the hole time and there can´t be a rootline with my previous TS
Sorry for that Report - please delete - i dont know where i can do it.
Best regards
- Status changed from New to Closed
Closed per request of reporter
Also available in: Atom
PDF