Requested feature

Discussion corner for Developers of Serendipity.
Post Reply
tomza
Regular
Posts: 5
Joined: Wed Feb 16, 2005 5:17 am
Location: South Africa

Requested feature

Post by tomza »

Could we please have a new option in Advanced Options - namely Show on Frontpage (default Yes)

I would use to set up a Sticky Post (which acts as an Intro to the category) but does not appear on the frontpage.

Currently, I achieve this with an additional event plugin that looks for posts which are Draft and Sticky - these will not be be shown normally in either location ('cos they are Draft) but my plugin will display the contents where it's needed.

There's nothing wrong with this approach but it's a bit contrived and it should be very simple to add the option in Additional Options.

(Before you ask - Yes - I could do it myself but, so far, I have managed to get S9Y to do 90%+ of what I want WITHOUT altering core code) 8)
Linux is like a Tepee - No Gates - No Windows - Apache Inside!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Requested feature

Post by garvinhicking »

Please file actual feature requests here: http://sourceforge.net/tracker/?group_i ... tid=542825

You can assign it to me. I will take care of it when I have time. Useful feature, but it will not get into our 0.8 release.

If you care to do it yourself, look at the serendipity_event_entryproperties plugin. It can actually be solved within the plugin, no core code modifications are needed at all.

This is a "proof of concept patch" against the plugin. It works for my install and I will commit it to 0.9 if you can report it working too. :-)

http://nopaste.php-q.net/121662

Regards,
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/
tomza
Regular
Posts: 5
Joined: Wed Feb 16, 2005 5:17 am
Location: South Africa

Re: Requested feature

Post by tomza »

garvinhicking wrote: If you care to do it yourself, look at the serendipity_event_entryproperties plugin. It can actually be solved within the plugin, no core code modifications are needed at all.
I assumed that this was the case and already played around with a "no_frontpage" option.

Thanks for the code, I will try it out.

Cheers
Post Reply