[TYPO3-commerce] Howto: link teaser image to article detail view?

Marcel Burkhalter info at internezzo.ch
Wed Apr 2 15:53:03 CEST 2008


Hi again

I just checked the bugtracker. A teaser image bug was fixed recently (feb. 
2008).
Do you use the latest SVN version of commerce?

Greetings
Marcel


"Ralf Merz" <ralf.merz at heindl.de> schrieb im Newsbeitrag 
news:mailman.1.1207065252.11865.typo3-project-commerce at lists.netfielders.de...
> Hi list,
>
> can someone please help me with the teaserimages links?
> I tried my own TYPOscript but failed and now used the TYPOscript of Marcel 
> (thanx!) but this doesn´t work correctly.
>
> I get a link in the FE, but it is a text-link, named liked the pagetitle 
> of the page where the pi1 runs.
> I just can´t get it that my teaserimages are shown. Has someone an idea?
>
> I always used to take the ###PRODUCT_LINK_DETAIL### marker, but as this 
> one is depricated now, I want to use typoscript for this, but it doesn´t 
> work. :(
>
> Marcel Burkhalter schrieb:
>>> The answer is TypoScript. Something like:
>>
>> Hi Franz
>>
>> Tnx a lot for your help.
>> After removing your following TS line the whole things works just fine:
>> import = uploads/tx_commerce/
>>
>> Here my testend (Commerce 0.9.3) TS Setup for linked teaser images:
>>
>> # settings for product listing
>> plugin.tx_commerce_pi1 {
>>   # LIST VIEW
>>   listView.products.fields {
>>     images {
>>       file.maxW = 240
>>       file.maxH = 180
>>
>>       # enable click-enlarge for article image
>>       imageLinkWrap < tt_content.image.20.1.imageLinkWrap
>>       imageLinkWrap.enable >
>>       imageLinkWrap.enable = 1
>>     }
>>
>>     teaserimages >
>>     teaserimages = stdWrap
>>     teaserimages {
>>       cObject = IMAGE
>>       cObject {
>>         file {
>>           import.current = 1
>>           maxW = 120
>>           maxH = 120
>>         }
>>       }
>>
>>       typolink.setCommerceValues = 1
>>       typolink.useCacheHash = 1
>>       typolink.if.isTrue.current = 1
>>     }
>>   }
>> }
>>
>>
>> Greetings
>> Marcel
>
>
> -- 
> --
> Greetings
> Ralf Merz
>
> Heindl Internet AG
> Tübingen , Germany
> ralf.merz at heindl.de 




More information about the TYPO3-project-commerce mailing list