[TYPO3-commerce] category navigation

Marc Bastian Heinrichs typo3 at mbh-web.de
Fri Aug 24 15:23:14 CEST 2007


Hi,

following TS should render a category menu with the subcategories of
category uid 3, right?

temp.prodmenu < lib.tx_commerce.navigation
temp.prodmenu = HMENU
temp.prodmenu {

    special.overridePid = 10
    special.category = 3    
    
    1 = TMENU
    1.wrap = <ul>|</ul>
    1.noBlur = 1

    1.NO.linkWrap = <li>|</li>
    
}

The menu is correct, but the link points always to 
the category defined by TS: ?id=10&tx_commerce_pi1[catUid]=3&cHash....

By looking to the code it's plausible, but my thought is, it can't be a bug, 
cause there are various installations, where it's working correctly.

By changing lines 405 and 419 from

$nodeArray['_ADD_GETVARS'] .= ini_get('arg_separator.output')
$this->prefixId.'[catUid]='.$uid_root;

to

$nodeArray['_ADD_GETVARS'] .= ini_get('arg_separator.output')
$this->prefixId.'[catUid]='.$row['uid_local'];

it works for me, but is it a bug, or not?

I've used the latest svn code.

Greets
Marc Bastian



More information about the TYPO3-project-commerce mailing list