Page 1 of 1

New Entries Plugin - cannot determine current category

Posted: Tue Mar 12, 2013 12:06 am
by shsp
The new entries plugin should only show the entries for the category of the post being shown. Is there another plugin which does this? I noticed in the configuration you can chose the category, but I am interesting in the plugin deriving the category from that being shown. Thanks.

Re: New Entries Plugin - cannot determine current category

Posted: Tue Mar 12, 2013 5:13 pm
by garvinhicking
Hi!

Which plugin exactly are you talking of?

Some plugins have the option "Current category" to do that; the plugin can be patched to retrieve $serendipity['GET']['category'] for the current category. This does not apply to single entry views, because entries with multiple categories could occur, so viewing an entry cannot 100% safely deduce which category it belongs to.

The serendipity_event_categorytemplates plugin allows to actually set the category to the category of an entry in single entry view, and also allows to use the first category when multiple categories are used. So you might want to use this plugin in extension for that.

Regards,
Garvin