Page 1 of 1

recently added posts

Posted: Tue Aug 16, 2005 8:11 pm
by periferral
Hi I would like to add Recently Added items to the sidebar. Looks like there should be a plugin already for this because I see the Serendipity blog site has this but I can't seem to find it anywhere. Can someone send me a pointer to this. Thanks

found it

Posted: Tue Aug 16, 2005 8:27 pm
by periferral
Hi I found the plugin and set it up. However it requires me to have the date and it puts the date down on a second line. I don't want the date and so I left it empty. However, it still kept the date. Then I put a " " but that created an empty line between the entries. I am looking at the s9y blog and I see recent entries without the extra line break.

Any clues how I can get the same look. Thanks in advance

Re: found it

Posted: Wed Aug 17, 2005 1:18 am
by garvinhicking
The plugin on blog.s9y.org has been edited, so that the date is ommitted. You'll need to also manually edit the plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php file and look at the very bottom of the file; there you see the HTML output. You can alter this.

Best thing is to save this plugin then inside a directory "serendipity_plugin_recententries2", and name the .php file also with a "2". Also edit the "class serendipity_plugin_recententries" inside the file to be called with a "2". Then you can install your own plugin and it won't get overwritten when upgrading.

Best regards,
Garvin

works

Posted: Wed Aug 17, 2005 10:26 am
by periferral
Garvin. works great. thanks for the tip.

Re: found it

Posted: Sun Aug 21, 2005 12:10 am
by francisco
garvinhicking wrote:The plugin on blog.s9y.org has been edited, so that the date is ommitted.
If this is so common that the s9y.org site made this change and others are asking, why not generalize it and make it configurable?

Re: found it

Posted: Sun Aug 21, 2005 5:02 am
by garvinhicking
Actually this was requested the first time in 2 years. But if anyone patches a plugin, I'm open for those contributions to add them to our repository of course!

Regards,
Garvin