[TYPO3-commerce] Teaser link/popup
Ingo Schmitt
is at marketing-factory.de
Sun Feb 21 20:25:42 CET 2010
Hi Karsten,
I'm haven't testet it, but teaserimages = stdWrap and adding a cObject = IMAGE is really strange. Why did you change it to stdWrap? Normally its IMAGES, or IMG_TEXT
Regards
ingo
> teaserimages {
> cObject = IMAGE
> cObject {
> file {
> import.current = 1
> maxW = 120
> maxH = 120
> }
> }
>
> typolink.setCommerceValues = 1
> typolink.useCacheHash = 1
> typolink.if.isTrue.current = 1
> }
> Hi all
>
> I cant seem to get the teaser image, to either link to the details page or click to enlarge. IM not that good in TS.....
>
> Her is my 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 = læs mere
> wrap = |
> typolink.setCommerceValues = 1
> typolink.useCacheHash = 1
> }
>
> images {
> # enable click-enlarge for article image
> imageLinkWrap < tt_content.image.20.1.imageLinkWrap
> imageLinkWrap.enable >
> imageLinkWrap.enable = 1
> file.maxW = 200
> # click enlarge
> imageLinkWrap = 1
> imageLinkWrap {
> width = 800m
> height = 600m
> bodyTag = <body style="background:#fff;color:#000;">
> wrap = <a href="javascript:close();">|</a>
> JSwindow = 1
> JSwindow.expand = 20,20
> JSwindow.newWindow = 1
> enable = 1
> }
> # click enlarge slut
>
> }
>
> 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
> }
> }
> # click enlarge
> plugin.tx_commerce_pi1.singleView.articles.fields.images < plugin.tx_commerce_pi1.listView.products.fields.images
> # click enlarge slut
>
>
> singleView{
> products < lib.tx_commerce.products
> products {
> fields {
> title.wrap = |
> description.wrap = <div class="com-single-desc">|</div>
>
> images {
> imageLinkWrap < tt_content.image.20.1.imageLinkWrap
> imageLinkWrap.enable >
> imageLinkWrap.enable = 1
> file.maxW = 150
> }
>
> }
>
> }
> products.categories < lib.tx_commerce.categories
> products.categories {
> fields {
> title.wrap = <h2>|</h2>
> }
> }
> }
>
> }
> _______________________________________________
> TYPO3-project-commerce mailing list
> TYPO3-project-commerce at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce
>
>
Mit freundlichen Gruessen
Ingo Schmitt
--
Marketing Factory Consulting GmbH * mailto:is at marketing-factory.de
Stephanienstrasse 36 * Tel.: +49 211-361176-63
D-40211 Duesseldorf, Germany * Fax: +49 211-361176-99
Amtsgericht Duesseldorf HRB 53971 * http://www.marketing-factory.de/
Geschaeftsfuehrer: Peter Faisst | Katja Faisst
Karoline Steinfatt | Christoph Allefeld | Markus M. Kimmel
More information about the TYPO3-project-commerce
mailing list