I must be missing something. I added
comments-recent=org.blojsom.plugin.comment.RecentCommentsPlu
gin to
the plugin properties, added comments-recent to the end of
the chain
for html, then added this test code to my template:
#foreach ($temp in $BLOJSOM_RECENT_COMMENTS)
$temp.getComment()<br />
#end
But no entries show up on the page.
Any suggestions?
At 4:29 PM +1100 2/14/06, Cliffano Subagio wrote:
>Hi Ben,
>
>Don't forget to add comments-recent on the blog's
plugin chain.
>
>$BLOJSOM_RECENT_COMMENTS contains BlogComment objects,
check out the
>available methods here
><http://blojsom.sourcefor
ge.net/javadoc/org/blojsom/blog/BlogComment.html>http://b
lojsom.sourceforge.net/javadoc/org/blojsom/blog/BlogComment.
html
>
>Cheers,
>Cliff.
>
>On 2/14/06, Ben Robbins <<mailto:info activemac.com>info activemac.com> wrote:
>
>Sounds like exactly what I need. So just
double-checking, I would
>activate this by adding
>
>
comments-recent=org.blojsom.plugin.comment.RecentCommentsPlu
gin
>
>then adding comments-recent to the mappings, then put
something like
>
> #foreach ($entry in $BLOJSOM_RECENT_COMMENTS)
> $entry.getTitle
> #end
>
>in my template.
>
>How do I find out the variable names in the array (like
getTitle for
>BLOJSOM_PLUGIN_ALL_ENTRIES)?
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep
through log files
for problems? Stop! Download the new AJAX search engine
that makes
searching your log files as easy as surfing the web.
DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
|