List Info

Thread: BLOJSOM_RECENT_COMMENTS - Part II




BLOJSOM_RECENT_COMMENTS - Part II
user name
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-bounceslists.sourceforge.net [mailto:blojsom-users-bounceslists.sourceforge.net] On Behalf Of Milos Topic
Sent: Monday, October 23, 2006 10:32 PM
To: blojsom-userslists.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-bounceslists.sourceforge.net [mailto:blojsom-users-bounceslists.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"; <topicmmail.montclair.edu&gt; 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).
   ; &nbsp; &nbsp; &nbsp; 
 &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; #foreach ($comment in $BLOJSOM_RECENT_COMMENTS)
 ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;  <a href=";$comment.getAuthorURL()">;$comment.getAuthor()&lt;/a> on
 &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp;<a ref="$comment.getBlogEntry().getLink()&;page=comments"&gt;$comment.getBlogEntry().getTitle()</a&gt;<br/&gt;
 &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ;#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.&quot; - 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-userslists.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 )