[TYPO3-commerce] rootline

Andreas Stauder stauder at adbw.ch
Tue Apr 3 23:41:06 CEST 2007


yes seems so that only products are now in rootline.

special.showCategories = 1 has no effect.

A workaround:

in class.tx_commerce_navigation.php->getCategoryRootlineforTS{
	$this->category = -1; // add this line

I have absolutly no idea what I am doing here, it works but you should 
not use it ;)

Problem is:
	if ($CategoryObject->parent_category_uid <> $this->category )
where $this->category is not set.

Regards
Andreas

Sebastian Schwill wrote:
> i have added the following ts-code
> lib.tx_commerce.rootline  = HMENU
> lib.tx_commerce.rootline {
>     special = userfunction
>     special.userFunc =  user_tx_commerce_catmenu_pub->CommerceRootline
>     special{
>        #// Root category for the display
>        category = {$plugin.tx_commerce_lib.catUid}
>        #// zeige Producte
>        showProducts = 0
>        showCategories = 1
>        #// PID for displaying the products
>        overridePid = {$plugin.tx_commerce_lib.overridePid}
>       
>      
>     }
>     1 = TMENU
>     1.NO.linkWrap = |*|| > |*||
>   
> }
> page.10.marks.INHALT.marks.INHALT{
>  20 = TEXT
>  20.data  >
>  20.wrap (
>   <br /><br /><br />
>  )
>  30 < lib.tx_commerce.rootline
>  5 < .20
>  4 < .30
> }
> 
> 
> Dear Sebastian,
> 
>> hi,
>> i downloaded from sourcefrog all the files an bulild a new svn version. after updating it to typo, the rootline is not shown correct any more. now only the artikles are shown.
>> is there a trick to maky it worke right?
> 
> did you add the new TS?
> 
> ingo
> 
> 
> Mit freundlichen Gruessen


More information about the TYPO3-project-commerce mailing list