[TYPO3-german] TYPO3 wrap ändern wenn field leer ist!?
Dr Dieter Porth
typo3 at mobger.de
Sun Aug 16 20:52:38 CEST 2015
Am 16.8.2015 um 19:10 schrieb Sebastian Schmal:
>
> Am 16.08.2015 um 19:02 schrieb Sebastian Schmal:
>> hallo liste,
>> stehe gerade bissel aufm schlauch...
>> habe einen link der immer dann greifen soll, wenn das Feld
>> "header_position" leer ist.
>>
>>
> __okay bissel doof bin ich ja schon :D
>
> lösung:
>
> 5 = TEXT
> 5 {
> field = header_position
> stdWrap.wrap = <div class="caption vertical-center text-|">
> stdWrap.required = 1
> ifEmpty = left
> }
>
> falls jemand mal das problem hat :)
>
> ------------------------------------------
Den ifEmpty kannte ich bislang nicht. Ich hätte es vorher mit 'override'
gelöst.
--
Dr. Dieter Porth -
Mein kleines TYPO3-Labor: http://www.mobger.de/
More information about the TYPO3-german
mailing list