i tried to figure this out on my own, but it didn't quite work the way i wanted.
On my Entry-Overview (Blog startingpage) i'd like to have a preview of comments at the bottom of the entry.
Like this:
________________________________________________________________
Subject
yadda yadda yadda body
Comment Preview
Entry Footer | Written by bla | Categories | Comments (2)
________________________________________________________________
The Preview should be something like "Name says: Yadda bla... read more >>".
I tried to modify my entries.tpl like this (pseudocode):
Code: Select all
foreach entry.comment
<p>comment.body</p>I also tried the serendipity-smartyfunction for printing comments, that worked - but i dont want all the mail and homepage-stuff there. i then tried to modify the smarty-function, but i'd prefer not to modify any corefiles.
my last idea was to use serendipity_fetch_comments which is also called in the print_comments-function and assign the return value to a smarty variable - but i couldnt figure out how to do that.
soooo, in short words: can anyone help?
Thanks,
Sandrachen