[Typo3-UG Oesterreich] TOP_IMG mit Text kombiniert
Georg Kuehnberger | plan2.net
gk at plan2.net
Sun Jul 4 14:45:51 CEST 2004
Gerhard,
Christophs Beispiel ist sicherlich komfortabler, weil Du damit das Bild als
Ressource der Seite (Seitentyp Erweitert) bequem 'reinladen kannst;
Wenn Du's manuell machen willst, aenderst christophs beispiel eben auf:
# setup
...
10.file = {$topImg}
...
20 = TEXT
20.value = {$topImgText}
und auf jeder Seite dann ein zusaetzliches template mit:
# constants
topImg = fileadmin/images/top_img/pic_55.jpg
topImgText = blubber-cgc-text
hth georg
At 13:23 04.07.2004, Gerhard Obermayr wrote:
>Hallo Christoph, danke für den Tip.
>Leider funktioniert er bei mir so nicht.
>
>Ich habe im Setup einen Marker definiert:
>----------- snip start -------------
> subparts.TOP_IMG < temp.topImg
>----------- snip stop -------------
>
>und für das Bild selber:
>----------- snip start -------------
>temp.topImg = IMAGE
>temp.topImg.file = {$topImg}
>----------- snip stop -------------
>
>Für jede Seite habe ich ein Template, z.B.:
>topImg = fileadmin/images/top_img/pic_55.jpg
>
>Somit definiere ich das Bild, welches auf der Seite als TOP_IMG eingefügt
>werden soll.
>Ich muss also bei der Bild-Definition selbst den Text dazu angeben können,
>also wie folgt:
>----------- snip start -------------
>temp.topImg = IMAGE
>temp.topImg.file = {$topImg}
>... Textdefinition_mit_allen_Parametern (Abstand von oben, Textfarbe,
>Transparenz, Ausrichtung etc.)
>----------- snip stop -------------
>
>Gerhard
>
>Christoph Jaeger schrieb:
>
>>Hello Gerhard,
>>
>>so?
>>...
>>10 = IMAGE
>>10.file = GIFBUILDER
>>10.file {
>> XY = 102, 72
>> backColor = #CEDFF7
>> 10 = IMAGE
>> 10.file {
>> import = uploads/media/
>> import.data = field:media
>> import.listNum = 0
>> }
>> 20 = TEXT
>> 20.value = Ich bin der fixe Text
>>}
>>...
>>
>>Sunday, July 4, 2004, 10:16:12 AM, you wrote:
>>
>>GO> Hallo Leute, ich mochte gerne ein als TOP_IMG definiertes Bild mit einem
>>GO> Text kombinieren.
>>GO> dh auf jeder Seite wird am vorgegebenen Platz ein TOP_IMG plaziert, in
>>GO> dem ich einen immer gleichbleibenden Text (z.B. den Website-Titel)
>>GO> halbtransparent drüberlegen möchte (siehe
>>GO> http://www.cgc.co.at/home.0.html).
>>GO> Fazit: Text bleibt gleich, Bild ist auf jeder Seite anders.
>>GO> Hat jemand so etwas schon einmal gemacht???
>>
>>GO> Liebe Grüße aus Haag
>>GO> Gerhard
>>
>>GO> _______________________________________________
>>GO> Typo3-at mailing list
>>GO> Typo3-at at lists.netfielders.de
>>GO> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-at
>>
>>
>>_______________________________________________
>>Typo3-at mailing list
>>Typo3-at at lists.netfielders.de
>>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-at
>>
>>
>>
>
>
>_______________________________________________
>Typo3-at mailing list
>Typo3-at at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-at
More information about the TYPO3-at
mailing list