awp
New Member
Posts: 1
|
Post by awp on Sept 11, 2009 12:40:47 GMT -5
I was wondering if anyone has looked into being able to list the last XX number of news posts and the last XX number of comments. To be more specific, I use to have the recent headlines posted at the top of my page but since coming back to greymatter after a couple of years I can no longer find how I did that. Also was looking to see if there was a way to have the Last 5 or 10 comments posted to the site listed much like a headlines mod.
|
|
|
Post by petefinnigan on Sept 11, 2009 14:05:06 GMT -5
Hi Awp,
I moved this post here as this is not a feature request as this functionallity exists. Have a look at the {{logentrylist}}, {{logshortentrylist}} and {{logmoreentrylist}} variables. These have a lot of modifiers. For instance do:
{{logentrylist number}} this will give you a list of entries that are formatted based on the templates "entry list link" and "entry list seperator" in the miscellaneous templates section. The number is specified in the configuration screen as the number of recent entries.
You can do the {{logentrylist commentsnumber}} which does the same for comments.
hth
cheers
Pete
|
|