[TYPO3-german] Problem mit ifEmpty
Christian Wolff
chris at connye.com
Fri Jun 5 11:59:33 CEST 2009
JCL - Johannes C. Laxander schrieb:
> Hallo,
>
> nochmal nachgefragt: kann mir jemand weiterhelfen?
>
> Gruß, Johannes.
>
>
>> -----Ursprüngliche Nachricht-----
>> Von: typo3-german-bounces at lists.netfielders.de
>> [mailto:typo3-german-bounces at lists.netfielders.de] Im Auftrag
>> von JCL - Johannes C. Laxander
>> Gesendet: Dienstag, 2. Juni 2009 14:22
>> An: typo3-german at lists.netfielders.de
>> Betreff: [TYPO3-german] Problem mit ifEmpty
>>
>> Hallo,
>>
>> ich möchte Bildern, die ein leeres title-Attribut haben
>> (title=""), automatisch den ALT-Text zuweisen. Dafür habe ich
>> im Setup folgende Anweisung codiert:
>>
>> tt_content.image.20.1.titleText.ifEmpty.field = altText
>>
>> Leider funktioniert das nicht. In der HTML-Ausgabe steht nach
>> wie vor ein leerer String. Hat das was mit der Constanten
>> "styles.content.imgtext.emptyTitleHandling" zu tun? Wird die
>> erst danach geprüft? Wenn ja, wie kann ich das Problem anders lösen?
>>
>> Gruß, Johannes.
>> _______________________________________________
>> TYPO3-german mailing list
>> TYPO3-german at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german
>>
>
hi Johannes
wie währe es damit:
tt_content.image.20.1.titleText.field = title // altText
stdWrap.field unterstützt schon von sich aus eine andere felder zu
nehmen falls vorherige leer ist..
gruss chris
--
Christian Wolff // Berlin
http://www.connye.com
some projects:
http://richtermediagroup.com | http://titanic.de |
http://fairplay-homepage.de
More information about the TYPO3-german
mailing list