[TYPO3-commerce] Change category title wrap?

brian bendtsen nightowl at galnet.dk
Mon Sep 24 21:27:09 CEST 2007


Thomas Koetter skrev:
> Hi Brian,
> 
>> Im trying to change the <h2>|</h2> wrap around category titles, but I 
>> cant make it work.
>>
>> I have tried this:
>>
>> lib.tx_commerce.categories.fields.title.wrap = <h1 style="border: 1px 
>> solid #000;">|</h1>
>>
>> But it has no effect.
> 
> You'll have to copy the values from the lib object to the different views.
> 
> lib.tx_commerce.categories.fields.title.wrap = <h1 style="border: 1px 
> solid #000;">|</h1>
> 
> plugin.tx_commerce_pi1.singleView.categories < lib.tx_commerce.categories
> plugin.tx_commerce_pi1.listView.categories < lib.tx_commerce.categories
> plugin.tx_commerce_pi1.categoryListView.categories < 
> lib.tx_commerce.categories
> 
> This will of course copy the entire configuration in the categories 
> branch. If you only want to copy the title wrap, then you'll have to 
> adjust the object paths.
> 
> Thomas
Thanks

Is it possible to have different views for categories on level 1 and 
categories on level 2?

So top categories are listed horizontally and subcategories are listed 
vertically, to give a simple example?

/BB


More information about the TYPO3-project-commerce mailing list