I have a editable field called end_date. Promotional banners after this date must no longer show.
How can I prevent promotional banners from not showing after the end_date in a programmed manner. My thoughts are;
Can somebody please help out.
Thanks.
How can I prevent promotional banners from not showing after the end_date in a programmed manner. My thoughts are;
- Code: Select all
<cms:if end_date gt <cms:php> date(); </cms:php> >
<!-- banner does not show -->
<cms:else />
<!-- display banner -->
</cms:if>
Can somebody please help out.
Thanks.