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,
Extended properties for entries in the recententies-plugin
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Extended properties for entries in the recententies-plugin
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
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
# 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/
# 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/
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: Extended properties for entries in the recententies-plugin
Or call a custom sidebar.tpl, which in turns fetches entries using a custom template.garvinhicking wrote:Instead, I would patch up the sidebar.tpl template file and directly access {serendipity_fetchPrintEntries} with a custom template.
=Don=