[TYPO3-german] Kleines GIFBUILDER-Problem. Ich verzweifle gerade ; -)

A.Degelmann a.degelmann at commapunkt.de
Mon Jun 25 12:11:16 CEST 2007


Fabian Koenig schrieb:
> Hi Konrad.
> 
> 
> Konrad schrieb:
>  > Hallo Fabian,
>  >
>  > text.field = header, meinst du das?
>  >
>  > Grüße
>  > Konrad
> 
> Gute Frage, ich weiss es nicht, da mir nichts ausgegeben wird ;-)
> 
> 
> AKTUELLE AUSGABE:
>               10 = BOX
>               10{
>                 dimensions = 0,0,145,15
>                 color = #D7D7D7
>               }
>               20 = BOX
>               20{
>                 dimensions = 1,1,143,13
>                 color = #EEEEEE
>               }
> Das wird korrekt ausgegeben.
> (Graue ox mit dunkelgrauem Rand ;-) )
> 
> Aber der Text fehlt:
>               30 = TEXT
>               30{
>                 text.field = header
>                 fontFile = fileadmin/fonts/verdana.ttf
>                 fontSize = 8
>                 fontColor = #666666
>               }
> Davon ist nichts zu sehen in der Ausgabegrafik :-(
> 
> 
> Ich hab jetzt die Schnauze voll.
> Hier nun ein Screenshot und meine FCE-XML-Struktur...
> 
> 
> Hier ein Screenshot vom Backend:
> http://img412.imageshack.us/img412/8978/backendij2.gif
> 
> (Der rot-umrandete Bereich [Ueberschrift] soll auf der Ausgabe-Grafik 
> angezeigt werden. Siehe FCE-XML-Struktur -> "field_linkimage")
> 
> 
> 
> Und hier mein FCE-XML (wichtig ist der "field_linkimage"-Bereich [am 
> Ende]) :
> <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
> <T3DataStructure>
>   <meta type="array">
>     <langDisable>1</langDisable>
>   </meta>
>   <ROOT type="array">
>     <tx_templavoila type="array">
>       <title>ROOT</title>
>       <description>Wählen Sie das HTML-Element der Seite, das Sie als 
> übergeordnetes Container-Element des Templates möchten.</description>
>     </tx_templavoila>
>     <type>array</type>
>     <el type="array">
>       <field_image type="array">
>         <tx_templavoila type="array">
>           <title>Image</title>
>           <sample_data type="array">
>             <numIndex index="0"></numIndex>
>           </sample_data>
>           <eType>image</eType>
>           <tags>img,div</tags>
>           <TypoScript>
>             10 = IMAGE
>             10.file.import = uploads/tx_templavoila/
>             10.file.import.current = 1
>             10.file.import.listNum = 0
>           </TypoScript>
>         </tx_templavoila>
>         <TCEforms type="array">
>           <config type="array">
>             <type>group</type>
>             <internal_type>file</internal_type>
>             <allowed>gif,png,jpg,jpeg</allowed>
>             <max_size>1000</max_size>
>             <uploadfolder>uploads/tx_templavoila</uploadfolder>
>             <show_thumbs>1</show_thumbs>
>             <size>5</size>
>             <minitems>0</minitems>
>           </config>
>           <label>Image</label>
>         </TCEforms>
>       </field_image>
>       <field_content type="array">
>         <tx_templavoila type="array">
>           <title>Content</title>
>           <sample_data type="array">
>             <numIndex index="0"></numIndex>
>           </sample_data>
>           <eType>rte</eType>
>           <TypoScript>
>             &lt;![CDATA[
>               10 = TEXT
>               10.current = 1
>               10.parseFunc = &lt; lib.parseFunc_RTE
>             ]]&gt;
>           </TypoScript>
>           <proc type="array">
>             <HSC type="integer">0</HSC>
>           </proc>
>         </tx_templavoila>
>         <TCEforms type="array">
>           <config type="array">
>             <type>text</type>
>             <cols>48</cols>
>             <rows>5</rows>
>           </config>
> 
> <defaultExtras>richtext[*]:rte_transform[flag=rte_enabled|mode=ts_css]</defaultExtras> 
> 
>           <label>Content</label>
>         </TCEforms>
>       </field_content>
>       <field_morelink type="array">
>         <type>attr</type>
>         <tx_templavoila type="array">
>           <title>URL</title>
>           <sample_data type="array">
>             <numIndex index="0"></numIndex>
>           </sample_data>
>           <eType>link</eType>
>           <TypoScript>
>             10 = TEXT
>             10.typolink.parameter.current = 1
>             10.typolink.returnLast = url
>           </TypoScript>
>           <proc type="array">
>             <HSC type="integer">1</HSC>
>           </proc>
>         </tx_templavoila>
>         <TCEforms type="array">
>           <config type="array">
>             <type>input</type>
>             <size>15</size>
>             <max>256</max>
>             <checkbox></checkbox>
>             <eval>trim</eval>
>             <wizards type="array">
>               <_PADDING type="integer">2</_PADDING>
>               <link type="array">
>                 <type>popup</type>
>                 <title>Link</title>
>                 <icon>link_popup.gif</icon>
>                 <script>browse_links.php?mode=wizard</script>
> 
> <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams> 
> 
>               </link>
>             </wizards>
>           </config>
>           <label>URL</label>
>         </TCEforms>
>       </field_morelink>
>       <field_linkimage type="array">
>         <tx_templavoila type="array">
>           <title>Link Image</title>
>           <sample_data type="array">
>             <numIndex index="0"></numIndex>
>           </sample_data>
>           <eType>none</eType>
>           <TypoScript>
>             10 = IMAGE
>             10.file = GIFBUILDER
>             10.file {
>               XY = 150,20
>               10 = BOX
>               10{
>                 dimensions = 0,0,145,15
>                 color = #D7D7D7
>               }
>               20 = BOX
>               20{
>                 dimensions = 1,1,143,13
>                 color = #EEEEEE
>               }
>               30 = TEXT
>               30{
>                 text.field = header
>                 fontFile = fileadmin/fonts/verdana.ttf
>                 fontSize = 8
>                 fontColor = #666666
>               }
>             }
>             10.stdWrap.typolink.parameter.field = field_morelink
>           </TypoScript>
>         </tx_templavoila>
>       </field_linkimage>
>     </el>
>   </ROOT>
> </T3DataStructure>

Du musst wahrscheinlich beim Text das dementsprechende "offset", den 
Fehler hatte ich auch schon mal.

Gruß,

Alexander


More information about the TYPO3-german mailing list