Tags:
create new tag
, view all tags

Question

I managed to solve this issue on my own, but wanted to submit a question to document it and ask what the formal stance would be.

I installed the BlogAddOn via the configure script. I had some web template issues, that I documented in CustomTemplateWebsNotWorking.

Eventually I had all the files I needed, but my blog posts didn't show up right. They were completely lacking the top and bottom buttons. I looked at the question BlogPostViewTemplate, and learned that my template was set up right (I'd get the situation in that question if I disabled the template - which would get me my top and bottom buttons back)

I compared my files to the ones running the TWiki Blog, and found differences. Ultimately my fix came from copy pasting the raw view of my BlogPostViewTemplate with the content from the Blog web's BlogPostViewTemplate.

That got me my buttons back, but broke the comment box. To fix that, I realized that I had BlogPostCommentTemplate, while TWiki's Blog used UserCommentsTemplate (with the exact same content). I renamed my file and now everything works.

So, my primary question for here is whether the current BlogAddOn works out of the box for anybody, or if people are hacking it the same way I had to. Howcome TWiki.org's copy is different than the one you can download?

I still don't know why I lost my top and bottom buttons with BlogAddOn out of the box. It was only for pages using the BlogPostViewTemplate

While I was tinkering, I also learned my CommentPlugin was outdated, and upgraded it. I also found the explanation in PatternSkinCustomization#The_topic_template_approach_usin useful, since it outright spoke of BlogPostViewTemplate

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: BlogAddOn is only relevant one, lots others.
Server OS: Red Hat
Web server: Apache
Perl version: 5.8.5
Client OS: Win XP
Web Browser: Opera
Categories: Add-Ons

-- RasmusPraestholm - 04 Dec 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Yes, you need to have the latest CommentPlugin, version 13313 as documented.

I am aware of the problem. I planned to make a backward compatible version but it got pushed back on my priority stack. Thanks for reminding.

-- ArthurClemens - 04 Dec 2007

Appreciate the info (and the addon!) - I wasn't too worried about the CommentPlugin, that was an easy fix, I was more wondering about the differences in file content between the addon and TWiki.org's version.

-- RasmusPraestholm - 05 Dec 2007

 
Change status to:
Topic revision: r3 - 2007-12-05 - RasmusPraestholm
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.