[TYPO3-german] was, wenn subtitle leer?
JoH asenau
info at cybercraft.de
Mon Oct 30 18:57:04 CET 2006
> Wie kann ich hier abfragen, ob subtitle gesetzt ist und im Falle von
> fehlendem Subtitle gar nichts anzeigen lassen?
>
> lib.xyz = COA
> lib.xyz.3 = TEXT
> lib.xyz.3.field = subtitle
> lib.xyz.3.wrap = <h2>|</h2>
>
> lib.xyz.5 = TEXT
> lib.xyz.5.field = title
> lib.xyz.5.wrap = <h1>|</h1>
"Gar nichts" bezogen auf das COA:
lib.xyz = COA
lib.xyz {
stdWrap.fieldRequired = subtitle
3 = TEXT
3 {
field = subtitle
wrap = <h2>|</h2>
}
5 = TEXT
5 {
field = title
wrap = <h1>|</h1>
}
}
"Gar nichts" bezogen auf das TEXT Element subtitle:
lib.xyz = COA
lib.xyz {
3 = TEXT
3 {
field = subtitle
wrap = <h2>|</h2>
required = 1
}
5 = TEXT
5 {
field = title
wrap = <h1>|</h1>
}
}
"Gar nichts" bezogen auf das TEXT Element title:
lib.xyz = COA
lib.xyz {
3 = TEXT
3 {
field = subtitle
wrap = <h2>|</h2>
}
5 = TEXT
5 {
fieldRequired = subtitle
field = title
wrap = <h1>|</h1>
}
}
Was darf's sein?
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com
More information about the TYPO3-german
mailing list