When you ask your clients what they expect of their site, they sometimes say the strangest things. Some time ago, one client had an interesting request. I wasn't there for the conversation but figure it went something like this.
Them: "We want to use an image of a tree on the top."
Designer: "Sure, no problem."
Them: "Great. We also want to change the image as the seasons change!"
Designer: "Ehmmm... let me see what I can do."
After doing some research we found a way that makes this super easy to do. It would be a shame if we didn't share that tip with you! The trick is to use some module magic, powered by Advanced Module Manager by Nonumber. If you are insterested in finding out how to publish a different module for each season, then read on.
Requirements
- Create a version of your "module" for each season.
- You need to have Advanced Module Manager installed. This add-on gives you tons of extra options when it comes to placing modules.
How to do it
- Open the first module you want to assign for a season - for example, Spring.
- Choose the module position (You can use the same again for the next modules), and in the "Module Assignment" section configure where you want the module to appear (which menu items / articles / categories...).
- In Module Assignment, scroll down to the "Date and Time" section, and look for "Seasons."
- Click "Selection", and choose the season in which you want the module to appear. For example, choose "Spring."
Now that you're done with your first module, rinse and repeat for the other three seasons! When the right time comes (the right time being: the next season) you'll see that the right module will immediately be published, while the others will be unpublished.
Keep this little "trick" in mind; you never know when you might need it!