Hallo ,

ich habe ein CE "Text mit Bild", in welchem verschiedene Bilder eingebunden
sind. Nun möchte ich gern einen Link um jedes Bild legen und zusätzlich
einen Parameter mitgeben welcher aus der DB ausgelesen werden soll.
Folgendes habe ich bereits probiert:

 

tt_content.image.20.1 {

   <http://www.typo3.net/tsref/functions/imageLinkWrap/> imageLinkWrap = 1

   <http://www.typo3.net/tsref/functions/imageLinkWrap/> imageLinkWrap {

    enable = 1

     <http://www.typo3.net/tsref/functions/typolink/> typolink {

      parameter.cObject =  <http://www.typo3.net/tsref/cobject/CONTENT/>
CONTENT

      parameter.cObject {

        table = tx_limakcarsharing_cars

         <http://www.typo3.net/tsref/functions/select/> select.pidInList =
32

         <http://www.typo3.net/tsref/functions/select/> select.selectFields
= uid

 

        renderObj =  <http://www.typo3.net/tsref/cobject/COA/> COA

        renderObj {

          10 =  <http://www.typo3.net/tsref/cobject/TEXT/> TEXT

          10.field = uid

          10. <http://www.typo3.net/tsref/functions/stdWrap/> stdWrap.wrap =
index.php?id=38&car=|

        }

      }

 

      ATagParams = rel="lightbox"

      ATagParams.override >

      ATagParams.override = rel="lightbox[sb{field:uid}]"

      ATagParams.insertData = 1

    }

  }

}

 

Problem ist im Moment noch, dass statt "index.php?id=38&car=1" folgendes
rauskommt "index.php?id=38&car=1index.php?id=38&car=2".

 

Lg Christian

 

 




---
avast! Antivirus: Ausgehende Nachricht sauber.
Virus-Datenbank (VPS): 100713-0, 13.07.2010
Getestet um: 13.07.2010 17:47:36
avast! - copyright (c) 1988-2010 ALWIL Software.
http://www.avast.com


_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an