[Typo3-UG Oesterreich] TOP_IMG mit Text kombiniert
Gerhard Obermayr
design at cgc.at
Sun Jul 4 13:23:10 CEST 2004
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
>
>
>
>
More information about the TYPO3-at
mailing list