[TYPO3-commerce] CUR-State for Category Rootline
Andre Dittmar
typo3 at hotbytes.de
Tue Nov 13 16:55:52 CET 2007
Hello,
I'm using the following Typoscript to create a mixed Page/Shop
Categories-Rootline as a breadcrumb-menue. Sadly the doNotLinkIt-
Parameter in the CUR-State doesn't work (Marked in the source with
"HERE")?
Does anybody know if there is a simple way to get this done, or do I
have to modify the method CommerceRootline in the
class.tx_commerce_navigation.php? The $returnArray has only the state
NO...
So do I have to use itemArrayProcFunc to add my own state for CUR in
that case or I'm wrong?
Best regards,
Andre
##
# BREADCRUMB MENUE
#
lib.breadcrumb = COA
lib.breadcrumb {
// Home
10 = TEXT
10.value = Home
10.typolink {
parameter = {$glb.settings.serverName}
}
// Content Pages
20 = HMENU
20 {
special = rootline
special.range = 1|-1
excludeUidList = {$plugin.tx_commerce_lib.catUid}
1 = TMENU
1 {
NO.linkWrap = –> |
CUR = 1
CUR.linkWrap = –> |
CUR.doNotLinkIt = 1
}
}
// Shop Categories
30 < lib.tx_commerce.rootline
30 {
1 {
NO.linkWrap = –> |
CUR = 1
CUR.linkWrap = –> |
CUR.doNotLinkIt = 1
}
}
}
More information about the TYPO3-project-commerce
mailing list