I want this to work automatically.
The idea behind is, to create articles which are displayed only fridays (special offers). The rest of the week there should be a placeholder.
It seems I need a DB-call which counts the "published" articles and if there are 0 published, it has to display the placeholder, but possibly there is a predefined functionality for that?
[e] Ok I've solved that problem with a snippet, which checks the current time with the general publication day (Friday). As long as the current daytime is "Friday" the [[+article]] placeholder is called, otherwise the [[$placeholder]] chunk is called. The articles have the same publishing date so they should be displayed as soon as the snippet calls the [[+article]]. Works fine for now.
I call that snippet in the Article-Container-Template Textfield.
If there is a better solution, tell me!
[ed. note: diluvian last edited this post 9 years, 6 months ago.]