[TYPO3-shop] Subcategories in template

Unai Aizpurua unai at alambre.net
Thu Jan 18 09:16:03 CET 2007


Hi Franz!!

Thanks for the fast answer!

I used displayCatListType = ul and used the bananaguard template example 
to render the catlist.
And the result is something like:

<ul id="cat1">
	<option class="w1" value="1">
		<a href="...." class="w1">Cat1</a>
	<option class="w2" value="3">
		<a href="...." class="w2">Cat2</a>
	<option class="w3" value="4">
		<a href="...." class="w3">Cat3</a>
	<option class="w4" value="5">
		<a href="...." class="w4">Cat4</a>
	<option class="w5" value="7">
		<a href="...." class="w5">Cat2.1</a>
	<option class="w6" value="8">
		<a href="...." class="w6">Cat3.1</a>
	</option>
</ul>

I don't know i doing something wrong, but I can see the subcategories in 
the correct place and the uses of CSS is imposible with this code.

I forgot something? My tt_products version is the 2.5.1

Unai Aizpurua



Franz Holzinger wrote:

>Hello Unai Aizpurua,
>
>  
>
>>I see that the template renderize in the same way the Categories
>>###LINK_CATEGORY### / ###LIST_LINK###
>>and the Subcategories. Like this.
>>· Cat 1
>>· Cat 2
>>· Subcat 2.1
>>· Subcat 2.2
>>· Cat 3
>>
>>There is a way to render it differently?
>>Perhaps a diferent marker?
>>Like this.
>>
>>· Cat 1
>>· Cat 2
>>   · Subcat 2.1
>>   · Subcat 2.2.
>>· Cat 3
>>
>>    
>>
>Yes, you can set it.
>
>displayCatListType = ul
>
>Then you can use CSS to change the display and functionality of it.
>
>- Franz
>
>
>  
>


More information about the TYPO3-project-tt-products mailing list