Skinning and designing Serendipity (CSS, HTML, Smarty)
djtempest
Regular
Posts: 6 Joined: Wed Jul 12, 2006 8:45 pm
Post
by djtempest » Wed Jul 12, 2006 8:48 pm
I have a little intro thing I would like to display at the top but only on the front page of the site.
Is there a smarty parameter to test for this? I took a guess at {$is_front_page} and {$is_frontpage} but neither of those appear to work..
thanks
carl_galloway
Regular
Posts: 1331 Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:
Post
by carl_galloway » Wed Jul 12, 2006 9:08 pm
use {if $startpage} show intro {/if}
djtempest
Regular
Posts: 6 Joined: Wed Jul 12, 2006 8:45 pm
Post
by djtempest » Wed Jul 12, 2006 9:34 pm
works a treat thanks
Is there a list/file anywhere that I can view what variables are actually available to use like this?
judebert
Regular
Posts: 2478 Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:
Post
by judebert » Wed Jul 12, 2006 9:48 pm
And Carl beats me to it again. Nice job, Carl!
djtempest
Regular
Posts: 6 Joined: Wed Jul 12, 2006 8:45 pm
Post
by djtempest » Thu Jul 13, 2006 1:46 pm
very useful didnt spot that when looking in the documentation cheers