A single blog comment always shows "!BlogEntryForm" as its parent entry instead of either the topic name of the initial blog entry or the title of that initial blog entry. Please refer to the attached screenshot.

I then replaced BaseRef with BlogRef in the implementation for the title "On xyz" in the RenderBlogComment topic, as follows:

~~~        <h3>On 
~~~            <a href=\"$percntSCRIPTURL{\"view\"}$percnt/$web/$expand(BlogRef)\" 
~~~              title=\"link to <nop>$expand(BlogRef)\">
~~~              \"$expand(@BlogRef.Headline or BlogRef)\"
~~~              <span class=\"blogDate\">
~~~                ($formatTime(@BlogRef.createdate, '$day, $mon $year'))
~~~              </span>
~~~            </a>
~~~        </h3>

I'm not sure whether this is the correct approach, though. Did it work out of the box for others?

-- TWiki:Main/BerndSGoetz - 27 Apr 2007

I've got no problems with it. I have a BlogEntry that has one comment, but it doesn't have the behaviour as yours. I've done quite a thorough test before as well on nested comments and such, but can't remember having the same behaviour.

Does it happen only when you have 2 un-nested comments?

-- TWiki:Main/KwangErnLiew - 04 May 2007

ItemTemplate edit
Summary RenderBlogComment? shows BaseRef? instead of BlogRef?
ReportedBy TWiki:Main.BerndSGoetz
Codebase 4.1.2
SVN Range TWiki-4.1.2, Fri, 27 Apr 2007, build 13539
AppliesTo Extension
Component BlogPlugin
Priority Normal
CurrentState New
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
I Attachment Action Size Date Who Comment
blogcommentrenderer.pngpng blogcommentrenderer.png manage 120.4 K 28 Apr 2007 - 00:24 UnknownUser Blog comment with BaseRef?

This topic: Tasks > Item3986
Topic revision: 11 Dec 2008, UnknownUser
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads