hey guys, im wondering if you could help me?
im currently using this mod and its working great but i want to add something else that builds onto this.
and it got me thinking if i can alter certain parts of the site design for these ocasions that would be great so for instance:
X-mas
Valentines day
Mothers day
fathers day
holloween
ect ect.
you get my point now i have tried to insert this code so that it calls up the specific graphic:
Code:
{if $smarty.now|date_format:"%m" > 10}<!--November countdown to x-mas -->
<table align="left" background="{$ImagesDir}/head_linebg.gif" width="100%" style="background-repeat:no-repeat">
{else if $smarty.now|date_format:"%m" > 9}
<table align="left" background="{$ImagesDir}/head_linebgstd.gif" width="100%" style="background-repeat:no-repeat">
{/if}
but if i decide to add more months to that it does not work?
is there a limit to the "else if" statement?
help would be great on this