setting homepage to a static page

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
magic
Regular
Posts: 14
Joined: Sun Dec 09, 2007 3:40 pm
Location: Devon, UK

setting homepage to a static page

Post by magic »

Hi, I'm trying to use Serendipity as a 'regular' website. How do I set the homepage to a 'static' page (ie. I don't want entries displaying there)
:?: TIA
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

There is a plugin named "static pages" that you can install. You then create as many different static pages as you wish, any one of which can be set to be the homepage.
=Don=
magic
Regular
Posts: 14
Joined: Sun Dec 09, 2007 3:40 pm
Location: Devon, UK

Post by magic »

Many thanks Don ....... I've already created static pages, but had overlooked this option. :roll:
Is there any way I can avoid my name & date displaying ??
I suppose that I could get around this using an iframe, but don't want to go that way unless it's necessary. Mebbe there is a simple file 'hack' :?:
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

You can hide it using css if you like. Try adding this to your stylesheet:

Code: Select all

.staticpage_author,
.staticpage_metainfo_lastchange {
    display: none;
}
=Don=
magic
Regular
Posts: 14
Joined: Sun Dec 09, 2007 3:40 pm
Location: Devon, UK

Post by magic »

Many thanks again .......... perfect solution.
Post Reply