Static pages and multiple headers
Posted: Wed Jun 25, 2008 4:24 pm
First, my apologies if this has been answered somewhere else, I've looked but I don't see anything that obviously stands out.
I'm working on a client site which is using Serendipity, but only for static pages. The website theme has two header, one is very large and only used for the index page, but all the other static pages (eg any static page that doesn't have the homepage option checked) will be using the smaller header.
In index.tpl I just want to be able to test that the page is a homepage, and also a static page, and if it is, then use the big header, otherwise use the small header.
The site also has two languages, English and Hungarian, and I want the Hungarian static page (with homepage checked) to also see the larger header instead of the smaller header.
Can anyone tell me the easiest way to make this happen? Thanks everyone.
I'm working on a client site which is using Serendipity, but only for static pages. The website theme has two header, one is very large and only used for the index page, but all the other static pages (eg any static page that doesn't have the homepage option checked) will be using the smaller header.
In index.tpl I just want to be able to test that the page is a homepage, and also a static page, and if it is, then use the big header, otherwise use the small header.
The site also has two languages, English and Hungarian, and I want the Hungarian static page (with homepage checked) to also see the larger header instead of the smaller header.
Can anyone tell me the easiest way to make this happen? Thanks everyone.