[TYPO3] tt_news category menu and images

Bernhard Kraft kraftb at kraftb.at
Wed Sep 5 17:32:33 CEST 2007


Hi !

Cray Flatline wrote:

>       renderObj = COA
> #      renderObj.wrap = <li>|</li>
>       renderObj {
>     stdWrap.typolink.parameter=32
>     stdWrap.typolink.additionalParams.dataWrap = 
> &tx_ttnews[cat]={field:uid}
>     stdWrap.typolink.wrap = <li>|</li>
>        10 = TEXT
>           10 {
>               field = title
>               wrap = |
>           }
>           20 = TEXT
>           20 {
>               field = description
>               wrap = <div>|</div>
>           }
>       }
>   }


Add:

30 = IMAGE
30 {
	file.import.field = image
# max width in pixels
	file.import.maxW = 320
}


and after the description an image will get generated ... see:

http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/8/6/


greets,
Bernhard


More information about the TYPO3-english mailing list