[TYPO3-german] Per Typoscript grafischen Submitbutton erstellen?

Markus Kobligk markus at kobligk.de
Thu Mar 18 00:05:24 CET 2010


Hallo David,

Am 25.02.2010 23:02, schrieb David Bruchmann:
> lib.myButton = COA
> lib.myButton {
> 10 = LOAD_REGISTER
> 10.bigImage.cObject = IMG_RESOURCE
> 10.bigImage.cObject {
> file = uploads/tx_mdbcompany/###IMAGE###
> titleText.field = imagecaption
> titleText {
> required = 1
> parseFunc =< lib.parseFunc
> split.token.char = 10
> split.token.if.isPositive = {$styles.content.imgtext.imageTextSplit} +
> {$styles.content.imgtext.captionSplit}
> split.returnKey = 0
> }
> border = 2
> params = hspace="2" vspace="2" style="border-color:#aaa"
> }
> 20 < register:bigImage
> 20.wrap = <input type="image" src="|" />

Ein LOAD_REGISTER war gar nicht nötig, wie ich nun festgestellt habe :-)

Einfach ein IMG_RESOURCE erstellen mit dem GIFGUILDER und dann mit 
stdWrap.wrap = <input type="submit" src="|" /> einen submit-Button 
daraus machen...

Grüße,
Markus Kobligk


More information about the TYPO3-german mailing list