EE 1
EE 2
Last Entry
Developer
3rd Party (Free)
Download
Compatibility
- LG Addon Updater
- Multi Site Manager
- Stand Alone Entry Form
Requirements
- jQuery for the Control Panel
Tags
Get the last entry date from one or more weblogs
Usage:
{exp:last_entry weblogs=‘news|blogs|videos’ format=’%Y-%m-%d’}
This would search through the news, blogs and videos weblogs and find the date of the latest entry. This could output 2010-01-18 for instance. The format parameter decides the date format and works the usual way. It only uses one SQL query so I would imagine that it’s faster than the alternative (that would be to use the {exp:weblog:entries} tag).
It can also be used in other tags like this:
{exp:weblog:entries weblog="{my_weblog}" start_on="{exp:last_entry weblogs='news|blogs|videos'
format='%Y-%m-%d'} 12:01 AM" stop_before="{exp:last_entry
weblogs='news|blogs|videos' format='%Y-%m-%d'} 11:59 PM"
disable="categories|category_fields|member_data|pagination|trackbacks"
parse="inward" }
Note it would probably be better to use embed here to only run the last_entry query once, this is just for example purposes.
Download Last Entry
| EE Version | Downloads | Add-On Version | Release Date |
|---|---|---|---|
| 1.x | Download |
Last Entry Links
This entry was last updated February 5, 2010, 5:03 am.
Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. Devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!
There are no reviews for this add-on yet.
What are you waiting for? Rate it and review it!