[TYPO3-commerce] Problems with "read more" link at the end of the teaser text
EdbO
commerce4me at EdbO.xs4all.nl
Wed Jun 23 20:01:23 CEST 2010
Hello,
I'm running Typo3 4.4 beta 3 with a svn-version of commerce (Checked out
revision 34395).
I want to add a "read more" link at the end of my teaser, but using the
Typoscript on the wiki ( http://wiki.typo3.org/index.php/Commerce#FAQ )
gives me nothing, so I changed it a little and then my link appears in
the frontend. But all the HTML-tags of my teaser text are gone. It's now
one long piece of text. I have to mention that I'm a newbie in
Typoscript, so I think it's my fault ...
This is the original TS from the wiki:
<TS>
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"> |</div>
typolink.setCommerceValues = 1
typolink.useCacheHash = 1
}
}
}
</TS>
This is the TS I'm using, so the link appears:
<TS>
plugin.tx_commerce_pi1 {
# Choose the view you use for teasers below:
listView.products.fields {
teaser >
teaser = stdWrap <----------------this is changed!!
teaser {
setContentToCurrent = 1
# teaser
prepend = TEXT
prepend.current = 1
# the more link
cObject = TEXT
cObject.value = lees meer »
wrap = <div class="some class"> |</div>
typolink.setCommerceValues = 1
typolink.useCacheHash = 1
}
}
}
</TS>
Removing the TS gives me the HTML-tags back, but I want both...
What can I do, that I have a "read more" and the HTML-tags?
Thanks.
Ed
More information about the TYPO3-project-commerce
mailing list