Re: Getting comments working

Steve Clark <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
On Saturday 24 March 2007 18:10, Ryan Barrett wrote:
> On Sat, 24 Mar 2007, Steve Clark wrote:
> > I think it's something more fundamental. I've removed the extra plug-ins
> > with no improvement. The problem is that the buttons do nothing at all.
>
> ah! if you're using the comment-form.html template that comes with the
> contrib pack, you need to copy comments.js into your plugin dir as well as
> comments.py. sorry, i just realized you hadn't mention doing that.
>
> alternatively, if you don't want ajax commenting, you can just remove the
> onclick handlers from the form and button input tags in comment-form.html.
> there's more info in the AJAX SUPPORT section of the comments.py file
> comment.

Ryan, 

Fixed it. At first it still didn't work. Even after I removed the AJAX bits I 
could preview, but not post. I had a look at the log and worked out that it 
was looking for comments.js in the top level folder (.../web). The other 
problem was permissions on the comments folder. It now seems to be working!

Thanks for your help. I will investigate further.

-- 
Steve

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
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.