How do I do this?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
xprt007
Posts: 2
Joined: Mon Apr 07, 2008 2:33 pm

How do I do this?

Post by xprt007 »

Hi
I am new to your script and it looks quite good.
I have a question though:

Is it possible to set a specific entry to be at the top of the page, say with a welcome message [I have some text message + a picture & want the new entries to be below them] or if not, is there anyway of creating a form of "front page" with static content?

Thanks in advance.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: How do I do this?

Post by garvinhicking »

Hi!

Yes, this is what we call "Sticky Entries". You can stickify an entry if you install/activate the plugin "Extended options for entries" (serendipity_event_entryproperties). Then when you create an entry you have a checkbox "Sticky entry" below the extended entry body that you can check.

The other way to create fixed frontpages is by using the "Static Page" event plugin (available on http://spartacus.s9y.org/ or via the spartacus event plugin).

A last way is that you can also edit the index.tpl template file of your template directory and put any content you like in there. This is the most performant option, but also the most cumbersome if you don't know much of the .tpl template files :)

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
xprt007
Posts: 2
Joined: Mon Apr 07, 2008 2:33 pm

Post by xprt007 »

Hi,

Many thanks for the very rapid response.

:)
Post Reply