2009/3/24 Linly <[email protected]>: > > OK, here is my form: > > [form][session target {p}#comment{=ccount}] > [box commentx rows=5 cols=30][box] > [session ccount { {info.wikiblog::comment.{p}}+1 }] > [hidden comment "<box>**Comment {=ccount}** [(time {now}|%Y/%m%d)] by > [[~{id}|+]]<br>{=commentx}</box>"] > [session edit "{=comment}"] > [session info "counter field='comment.{p}' target='info.wikiblog'"] > [session log "content='* [[{=target}|{title}]] by {id}' > target='info.wikiblog.recentcomment' flags='top'"] > [submit][form]
The log line seems to be working perfect. I just cut and pasted your form, and then added [(include info.wikiblog.recentcomment)] to the bottom. Very clever. What exactly is the problem you are having. I see a list of recent comments with links to the anchors in reverse order where the include is, and then the comments below in the normal order. Is that what you want? You might also want to add a flags='top,trim=10" to your flags to only show the most recent 10 posts... Cheers, Dan P.S. This is definitely the way to go, I think with Blogs. Pm, over at PmWiki was planning to introduce a system similar to this in his blogging engine, where you could tag any page and make it into a blog entry. But he never got around to it. I see many advantages to a wiki-blog kind of approach. Very nice possibilities. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/boltwire?hl=en -~----------~----~----~----~------~----~------~--~---
