[TYPO3-commerce] category menu
rainer schleevoigt
rainer at webmasterei-hamburg.de
Sat Jul 4 23:52:06 CEST 2009
Hello dear list,
I try since a lot of days to solve problem in subject.
It doesnt going. No menu appears.
This I have testet:
- insertet an other standard menu - it works,
- in TOB I see the embedding,
- my catalog has the uid 18, this number appears in TOB,
- debugging output of php script shows also the right number of top
category
The problem appears in newest TER-version and also in the newest SVN
version. TYPO3v4.26
I dont have any ideas. Has someone an inspiration?
Best regards
Rainer
-----------------------------------
Hallo liebe Liste,
seit drei Tagen versuche ich nun obiges Thema abzuarbeiten. Es gelingt
nicht. Unten ist der TS-Code, den ich eingefügt habe. Es erscheint kein
Menü.
Das habe ich schon getestet:
- ein anderes Menü wird eingefügt,
- im TOB wird es richtig eingebunden (denke ich)
- mein Katalog hat die UID 18, das taucht richtig im TOB auf,
- Debugausgabe der PHP-Klasse zeigt auch die richtige category
Das Problem taucht sowohl in der neuesten TER, als auch in der
SVN-Version auf. TYPO3 v4.2.6
Mir fällt nun wirklich nichts mehr ein. Gibt mir jemand eine Inspiration?
Gruß Rainer
======
includeLibs.user_tx_commerce_catmenu_pub =
typo3conf/ext/commerce/lib/class.tx_commerce_navigation.php
lib.tx_commerce.navigation = HMENU
lib.tx_commerce.navigation {
special = userfunction
special.userFunc = user_tx_commerce_catmenu_pub->init
expandAll = 1
special {
category = {$plugin.tx_commerce_lib.catUid}
showProducts = 0
entryLevel = 0
overridePid = {$plugin.tx_commerce_lib.overridePid}
useRootlineInformationToUrl =
{$plugin.tx_commerce_lib.useRootlineInformationToUrl}
1 = TMENU
1 {
wrap = <ul class="mainmenu">|</ul>
itemArrayProcFunc = user_tx_commerce_catmenu_pub->clear
expAll = 1
noBlur = 1
NO.wrapItemAndSub = <li>|</li>
ACT = 1
ACT.wrapItemAndSub = <li>|</li>
}
1.itemArrayProcFunc = user_tx_commerce_catmenu_pub->clear
2 < .1
2.itemArrayProcFunc = user_tx_commerce_catmenu_pub->clear
3 < .2
3.itemArrayProcFunc = user_tx_commerce_catmenu_pub->clear
}
}
======
page = PAGE
page {
10 = TEMPLATE
10 {
template = FILE
template.file = fileadmin/templates/start.html
marks.CONTENT < styles.content.get
marks.METANAVI < lib.metamenu
marks.KATALOG < lib.tx_commerce.navigation
}
}
config.adminPanel = 1
More information about the TYPO3-project-commerce
mailing list