[TYPO3-english] Typoscript CE images and caption

Kay Strobach typo3 at kay-strobach.de
Tue Jun 25 22:45:01 CEST 2013


Hi,

try to use dataWrap:

http://wiki.typo3.org/De:stdWrap#dataWrap

Regards
Kay

Am 25.06.13 20:15, schrieb Denis Torgal:
> Hi friends,
> 
> I do have here a good peace of TS. It's reading images out of a Content
> Element and showing it in the wrap part.
> But what I really can't find out, how to fill the values of imagecaption
> fields in the placeholder {CAPTION}.
> It seems also that this has changed in TYPO3 v 6.1.1.
> 
> temp.SLIDER2 = CONTENT
> temp.SLIDER2 {
>  table = tt_content
>  select.orderBy = sorting
>  select.where = colPos = 1
> 
>  renderObj = COA
>  renderObj {
>   1 = TEXT
>   1.field = image
>   1.required = 1
>   1.split {
>    token = ,
>    cObjNum = 1
>    1 {
>     10 = IMAGE
>     10 {
>      file {
>       import = uploads/pics/
>       import.current = 1
>       height = 460
>       width = 950
>      }
>      wrap=<li>|<div class="banner"><p>{CAPTION}</p></div></li>
>     }
>    }
>   }
>  }
> }
> 
> Does somebody have an idea? Thanks in advance.
> 
> Denny


-- 
http://www.kay-strobach.de - Open Source Rocks

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

Answer was useful - feel free to donate:
  -
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KPM9NAV73VDF2
  - https://flattr.com/profile/kaystrobach



More information about the TYPO3-english mailing list