Page 1 of 1

Extended properties for entries in the recententies-plugin

Posted: Wed Feb 10, 2010 3:03 pm
by T
Hello,

I was wondering if there's any way to have the Smarty tags ({$entry.properties.ep_MyCustomField}) from the Extended properties for entries-plugin show up in the recententries-sidebar-plugin.

Thanks in advance,

Re: Extended properties for entries in the recententies-plugin

Posted: Wed Feb 10, 2010 5:16 pm
by garvinhicking
Hi!

The recententries sidebarplugin uses its own code to fetch entries. To be able to use entryproperties, the queries would need rewrite. Also, instead of echo() a smarty template would need to be created.

In short, that's too complex to achieve quickly. Instead, I would patch up the sidebar.tpl template file and directly access {serendipity_fetchPrintEntries} with a custom template.

Regards,
Garvin

Re: Extended properties for entries in the recententies-plugin

Posted: Wed Feb 10, 2010 5:42 pm
by Don Chambers
garvinhicking wrote:Instead, I would patch up the sidebar.tpl template file and directly access {serendipity_fetchPrintEntries} with a custom template.
Or call a custom sidebar.tpl, which in turns fetches entries using a custom template. :wink: