Grey Matter Forums
« Headlines and Recent Comments »

Welcome Guest. Please Login or Register.
May 20, 2013, 3:21am



Greymatter: Free Personal Blogging Software

About Greymatter (including System Requirements)

Greymatter on FreshMeat

Download current version from:

News: Greymatter 1.8.2 is released! Read the announcement.

Got a minute? We want to know what's your preferred site navigation?

Please read the security announcement regarding author passwords.

Next Greymatter release will be 1.8.3


Grey Matter Forums :: Support :: Trouble Shooting :: Headlines and Recent Comments
   [Search This Thread] [Share Topic] [Print]
 AuthorTopic: Headlines and Recent Comments (Read 789 times)
awp
New Member
*
member is offline





Joined: Sept 2009
Gender: Male
Posts: 1
Karma: 0
 Headlines and Recent Comments
« Thread Started on Sept 11, 2009, 12:40pm »

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.
Link to Post - Back to Top  IP: Logged
petefinnigan
Global Moderator
*****
member is offline




[homepage]

Joined: Aug 2006
Gender: Male
Posts: 219
Location: York, England
Karma: 18
 Re: Headlines and Recent Comments
« Reply #1 on Sept 11, 2009, 2:05pm »

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
Link to Post - Back to Top  IP: Logged

--
Pete Finnigan (email:pete_at_petefinnigan_dot_com)
Oracle Security Web Site: http://www.petefinnigan.com
Oracle Security Forum: http://www.petefinnigan.com/forum/yabb/YaBB.cgi
Oracle security blog: http://www.petefinnigan.com/weblog/entries/index.html
Book:Oracle security step-by-step Guide
xiaojunznz1
New Member
*
member is offline





Joined: Nov 2012
Gender: Male
Posts: 3
Karma: 0
 Re: Headlines and Recent Comments
« Reply #2 on Nov 20, 2012, 1:52am »

A 747 was halfway across the Atlantic when the captain got on the loud speaker, "Attention, passengers. We have lost one of our engines, but we can certainly reach London with the three we have left. Unfortunately, we will arrive an hour late as a r esult." http://www.mmomesos.com
Shortly thereafter, the passengers heard the captain's voice again, "Guess what, folks. We just lost our third engine, but please be assured we can fly with only one. We will now arrive in London three hours late."


At this point, one passenger became furious. "For Pete's sake," he shouted, "If we lose another engine, we'll be up here all night!" http://www.mmohome.com
Link to Post - Back to Top  IP: Logged
   [Search This Thread] [Share Topic] [Print]

Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Notice | FTC Disclosure | Report Abuse | Mobile