It is currently Sun Jul 21, 2024 11:51 pm

All times are UTC

Forum rules

Please click here to view the forum rules

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Using SSI to create conditional content
PostPosted: Wed Oct 21, 2009 8:19 pm 

Joined: Wed Oct 21, 2009 8:05 pm
Posts: 1
Location: Austin, TX
I'd like to be able to use the IF, ELIF, and ELSE tags to SHOW or HIDE content on the page based on the date. Is this possible on Freehostia? I had this working many years ago on another server (not Apache), so perhaps there isn't a way?

This is the code:

<!--#config timefmt="%B" -->

<!--hide -->
<!--#if expr="$DATE_LOCAL = February" -->
<!--show -->
<tr valign=top><th><img src="/img/deco-feb-tl.png" width=170 height=50 alt="Ornament"><th><img src="/img/inv.gif" width=20 height=50 alt=""><th><a href="pers/"><img src="/img/btn-personal.jpg" width=170 height=50 alt="About Me" border=0></a><th><img src="/img/inv.gif" width=20 height=50 alt=""><th><img src="/img/deco-feb-tr.png" width=170 height=50 alt="Ornament"></tr>
<!--hide -->

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ]  Moderators: Moderators, Support Team

All times are UTC

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011