[TYPO3-german] TYPOSCRIPT Änderungen von 4.7 auf 6.2

Stefan Padberg post at bergische-webschmiede.de
Fri Jan 15 15:58:49 CET 2016


Hi,

HTML funzt nicht mehr, bitte durch TEXT ersetzen.

Und die ganze Handling mit Bildern hat sich dank FAL völlig geändert.

Grüße
Stefan


Am 15.01.2016 um 15:50 schrieb Basti Baumann:
> Moinsen,
> 
> ich hatte mir mal eine Extension geschrieben, mit der ich ein Bild
> beschriften kann via Gifbuilder. Dazu hatte ich ein TYPOSCRIPT, dass
> alles erledigt hat.
> Leider funzt das unter 6.2 nicht mehr.
> Wie und was genau hat sich denn da im Vergleich zur 4er Version geändert?
> 
> Das ist das TYPOSCRIPT:
> 
> plugin.tx_imagetext_pi1{
>     content = COA
>     content{
>         10 = IMAGE       
>         10.value = tx_imagetext_case
>         10.if {
>             value.field = tx_imagetext_case
>             equals = 1
>         }
>         #10.file = GIFBUILDER
>         10.file{
>             XY = 792, 210
>             10 = IMAGE
>             10.file {
>             import=uploads/imagetext/
>             import.field=tx_imagetext_image
>             import.listNum=0
>             width.field=imagewidth
>             file.maxW = 792
>             }
>             # Überschrift rendern
>             20 = TEXT
>             20.text.data = field:header
>             20.fontSize = 18
>             20.fontFile = fileadmin/fonts/verdana.ttf
>             20.fontColor = #ffffff
>             20.offset = 500, 40
>             20.antiAlias=1
>             # Bodytext rendern
>             30 = TEXT
>             30.text.data = field:tx_imagetext_text
>             30.fontSize = 15
>             30.fontFile = fileadmin/fonts/lte50266.ttf
>             30.fontColor = #ffffff
>             30.offset = 500, 60
>             30.doNotStripHTML = 0
>             30.nicetext=0
>             30.antiAlias=1
>             30.breakWidth = 280
>             30.breakSpace = 1.2       
>             }
>         10.stdWrap.typolink.parameter.field = tx_imagetext_link
>         10.alttext.field = tx_imagetext_text
>         10.titletext.field = tx_imagetext_text
>        
>         15 = COA
>         15.if {
>             value.field = tx_imagetext_case
>             equals = 2
>         }       
>         15 {
>             # der eigentliche Text des Objekts
>             10 = HTML
>             10.value = <div style="background-image:
> url('uploads/imagetext/
>             20 = TEXT
>             20.field = tx_imagetext_image   
>             25 = HTML
>             25.value = '); background-repeat:no-repeat;width: 393px;
> height: 160px;"><div class="highlight">             30 = TEXT
>             30.field = tx_imagetext_text
>             30.wrap = |<br/>
>             40 = TEXT
>             40.value = {LLL:EXT:imagetext/locallang_db.xml:more}
>             40.insertData = 1           
>             40.typolink.parameter.data = field:tx_imagetext_link
>             </div>   
>         }
>        
>     }
> }
> 
> Kann mich einer mal in die richtige Richtung schubsen bitte?


-- 
Bergische Webschmiede
Dipl.-Ing. Stefan Padberg
TYPO3-Integrator und Webprogrammierer
:: Borner Str. 18 - 42349 Wuppertal
:: +49 202 97648355
:: +49 173 9219845
:: post at bergische-webschmiede.de
:: http://www.bergische-webschmiede.de


More information about the TYPO3-german mailing list