Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
garamond
I don't think this possible with our current tools and perhaps I am just a bit nutty :)
I was wondering if a theme could be tied into a Cron function, causing theme to change based on time of day?
- Sunrise
- Day
- Sunset
- Night
thanks
Comments
Comment #1
AlexisWilke CreditAttribution: AlexisWilke commentedgaramond,
That should be relatively easy... find the place where they use the existing drop down value and then force the selection depending on time. Know however that by default you don't know the timezone of the user...
Thank you.
Alexis