[TYPO3-commerce] read more after teaser

Franz Koch typo.removeformessage at fx-graefix.de
Fri Jan 11 14:22:49 CET 2008


Hi,

> I have entered some text in teaser and it showing properly in my product
> list view. But to minimize the long text in teaser I like to implement
> the "read more" option after teaser text. So I have added the following
> code in my TSsetup
> 
> ### read more #########
>  plugin.tx_commerce_pi1 {
>     # Choose the view you use for teasers below:
>     listView.products.fields {
>         teaser >
>         teaser = TEXT
>         teaser {
>             setContentToCurrent = 1
>              # teaser
>             prepend = TEXT
>             prepend.current = 1
>  
>             # the more link
>             cObject = TEXT
>             cObject.value = lees meer »
>             wrap = <div class="some class">&nbsp;|</div>
>             typolink.setCommerceValues = 1
>             typolink.useCacheHash = 1
>         }
>     }
> }

If I'm right, this is the TS from a example given in this list some time 
ago. If not, please search the list for it - it's somewhere there (or 
maybe already in the wiki).

>  But The the link has not come after the teaser. :-(
> How can I then implement it ?

Which version of commerce do you use? I suppose you use the TER version, 
where this is not possible. Use current SVN-version and you will be happy :)

--
Greetings,
Franz


More information about the TYPO3-project-commerce mailing list