Wie wird denn das ganze abgeschlossen? Manchmal mit [global] und
manchmal mit [end]. Da wiedersprechen sich die docs.
[dayofyear > 1] || [dayofyear < 60]
includeCSS.winter = fileadmin/Templates/winter.css
[dayofyear > 61] || [dayofyear < 120]
includeCSS.fruehling = fileadmin/Templates/frueling.css
[dayofyear > 121] || [dayofyear < 220]
includeCSS.sommer = fileadmin/Templates/sommer.css
[dayofyear > 221] || [dayofyear < 320]
includeCSS.herbst = fileadmin/Templates/herbst.css
[dayofyear > 321] || [dayofyear < 365]
includeCSS.weihnachten = fileadmin/Templates/weihnachten.css
[END]
So könnte es doch sein?
Am 18.01.2018 um 15:45 Uhr schrieb Birgit:
Nachtrag:
[month = ...]
Comparison:
Month, from January being 1 until December being 12.
Apart from that this condition uses the same way of comparison as hour.
Also
[month = 1] nicht 01
[month < 5] || [month > 9]
Am 18.01.2018 um 15:25 schrieb Birgit <li...@berlin-typo3.de>:
ok, also automatisch jedes Jahr.
Dann wieder mit Condition:
[dayofyear = …]
Comparison:
Day of year, 0-364 (or 365 in leap years). That this condition begins with 0
for the first day of the year means that e.g. [dayofyear = 5] will be true on
the 6 th of January.
Apart from that this condition uses the same way of comparison as hour.
viele Grüße
Birgit
Am 18.01.2018 um 14:40 schrieb SChani <use...@schani.com>:
Hat nur einen Fehler, es geht nur ein Jahr.
Am 18.01.2018 um 14:32 Uhr schrieb SChani:
Sehr Gute Idee.
Besten Dank
Christian
Am 18.01.2018 um 14:02 Uhr schrieb Birgit:
Wenn du dein CSS per Typoscript einbindest,
kannst du im Backend ein ext Template anlegen, dort über „Zugriff“ steuern,
von wann bis wann es gültig ist und dieses Template inkludieren.
Viele Grüße
Birgit
Am 18.01.2018 um 13:49 schrieb SChani <use...@schani.com>:
Aber einen genauen Zeitraum kann man nicht eingeben, oder?
15.November bis 31. Dezember?
Christian
Am 18.01.2018 um 13:41 Uhr schrieb Steffen Dietrich:
Moin.
Ich würde es mit einer Condition auf den Monat probieren. Also so was wie
[month = 11, 12]
Hier is noch ne Doku dazu
https://docs.typo3.org/typo3cms/TyposcriptReference/Conditions/Reference/Index.html
Am 18.01.2018 um 13:23 schrieb SChani:
Hallo Gibt es eine Möglichkeit eine CSS Datei nur zu einer Bestimmten Zeit
einzubinden. Z.B. zwischen dem 15.November und dem 31. Dezember?
Ich habe schon mit Conditions rum gespielt komme aber zu keiner brauchbaren
Lösung.
Kann mir jemand helfen?
Besten Dank
Christian
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german