Re: issues with comments.py

will guaraldi <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
On Wed, 25 May 2005, David Geller wrote:
>
> 1. What is the purpose of "comment-story.html"? Why would you want to 
> copy the story? I just created a blank one, because the comment form 
> didn't seem to appear otherwise, when clicking on "comments".

It's for the beginning of the comment block on your web-site.  My 
comment-story.html template has:

    <div class="blosxomComments">

Here's a breakdown of what templates do what when using comments:

<div class="news">           <- story.html
<h2>$title</h2>               |
<div class="content">         |
...                           |
</div>                        |
links                         |
</div>                       <-
<div class="comments">       <- comment-story.html
<div class="comment">        <- comment.html
Posted by $blah at $blah      |
$blah                         |
</div>                       <-
<div class="comment">        <- comment.html
Posted by $blah at $blah      |
$blah                         |
</div>                       <-
<div class="commentform">    <- comment-form.html
form stuff here.              |
</div>                        |
</div>                       <-


> 2. Using categories, when I have one with a single entry, and go there, the 
> comment form appears. Is there a way to keep this from happening? If there 
> are more than one entry, it doesn't appear.  Shouldn't you only get the form 
> if you click on "comments"?

Explanation (albeit brief) is here:

http://article.gmane.org/gmane.comp.web.pyblosxom.user/889/match=comment+-story

Basically it's doing what it was written to do.  We're interested in 
changing the behavior.  If you (or anyone else) want to change it and send 
in a patch--that'd be cool otherwise it's going to sit on the backburner.

/will


-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.