|
List Info
Thread: BLOJSOM_RECENT_COMMENTS - Part II
|
|
| BLOJSOM_RECENT_COMMENTS - Part II |

|
2006-10-24 18:21:09 |
|
Any ideas on how to do this...any examples
that could get it to behave? J
Thanks,
Milos
From: blojsom-users-bounces lists.sourceforge.net
[mailto:blojsom-users-bounces lists.sourceforge.net] On Behalf Of Milos Topic
Sent: Monday, October 23, 2006
10:32 PM
To: blojsom-users lists.sourceforge.net
Subject: Re: [Blojsom-users]
BLOJSOM_RECENT_COMMENTS - Part II
All of them…;as it is a very new blog
so don’t have many, but I can see some 17-18 of them.
Update:
Also, as new comments get posted they are
displayed on top properly while still displaying ALL previous comments, so the
current number is up to 20 or so.
Milos
-
--
"Only two things are infinite, the
universe and human stupidity, and I'm not sure about the former." - Albert
Einstein.
From: blojsom-users-bounces lists.sourceforge.net
[mailto:blojsom-users-bounces lists.sourceforge.net] On Behalf Of David Czarnecki
Sent: Monday, October 23, 2006
10:15 PM
To: blojsom-users
Subject: Re: [Blojsom-users]
BLOJSOM_RECENT_COMMENTS - Part II
Odd. The default value if not
specified is 5. How many comments do you see?
On 10/23/06 10:03 PM, "Milos Topic" <topicm mail.montclair.edu>
wrote:
With great help from a fellow
blojsom user (Ben) I finally got the recent comments to display. However the
following code in html.vm file displays ALL comments, not just the most recent
5 as I have specified in the blog.properties file (plugin-recent-comments-count=5).
#foreach
($comment in $BLOJSOM_RECENT_COMMENTS)
<a
href="$comment.getAuthorURL()">$comment.getAuthor()</a> on
<a
ref="$comment.getBlogEntry().getLink()&page=comments">$comment.getBlogEntry().getTitle()</a><br/>
#end
Any ides on how to “force” it to display the X number of comments
(in this case 5)?
Thanks,
Milos
-
--
"Only
two things are infinite, the universe and human stupidity, and I'm not sure
about the former." - Albert Einstein.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-users
--
David Czarnecki
http://www.blojsom.com/blog/ | http://blojsom.sf.net
|
[1]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|