[TYPO3-german] CSS nur zwischen Januar und März einbinden?

Birgit lists at berlin-typo3.de
Thu Jan 18 15:45:46 CET 2018


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 <lists at 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 <usenet at 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 <usenet at 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 at lists.typo3.org
>>>>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
>>>>> 
>>>>> _______________________________________________
>>>>> TYPO3-german mailing list
>>>>> TYPO3-german at lists.typo3.org
>>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
>>>> 
>>>> _______________________________________________
>>>> TYPO3-german mailing list
>>>> TYPO3-german at lists.typo3.org
>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
>>>> 
>>> _______________________________________________
>>> TYPO3-german mailing list
>>> TYPO3-german at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
>> 
>> _______________________________________________
>> TYPO3-german mailing list
>> TYPO3-german at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
> 



More information about the TYPO3-german mailing list