Tags:
create new tag
view all tags

SID-00075: Blogroll not working in BlogAddOn Plugin

Status: Answered Answered TWiki version: 4.2.4 Perl version: 5.8.5
Category: CategoryAddOns Server OS: Red Hat Linux, kernel 2.6.9-67.0.15.elvm Last update: 16 years ago

I've installed BlogPost and everything seems to work well, except for one rather critical problem... When I put in:

%INCLUDE{"BlogPost" section="simple" sortdirection="ascending" sort="created" limit="10"}%

It doesn't work. Instead, what I see in the HTML is:

<div class="blogPostAddOnOverview">
<div class="blogPostAddOnItem">
<h3><a name="span_class"></a> &lt;span class= </h3>

[ ... x 10 ... ]

</div> </div><!-- /patternTopic-->
<div class="twikiContentFooter"></div></div><!-- /patternContent-->...

This not only doesn't display the blog posts at all, but destroys the entire formatting of the page. What is going on here?

-- NathanKoren - 01 Feb 2009

Discussion and Answer

(I fixed above question; using verbatim tag instead of literal tag.)

-- PeterThoeny - 01 Feb 2009

It looks like there is an issue with the SEARCH that produces the blog list. Look at the format="..." parameter. If anything in "..." returns a double quote it would terminate the output prematurely. The &lt;span class= indicates that this is the case.

-- PeterThoeny - 02 Feb 2009

(Thanks for fixing my mucked-up formatting). I've discovered the source of the problem: a conflict with the EditChapterPlugin. When blog posts are included on another page, the title of the post should be a link to the post itself -- however the EditChapterPlugin modifies the title to add the edit button, and manages to destroy the whole post in the process (leaving "<span class=" as the only visible output).

I was able to resolve the conflict by editing the BlogPost topic and replacing a ---+++ with

<h3>...</h3>
, which EditChapterPlugin doesn't pick up on. Everything works fine now.

-- NathanKoren - 04 Feb 2009

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Blogroll not working in BlogAddOn Plugin
SupportCategory CategoryAddOns
TWiki version 4.2.4
Server OS Red Hat Linux, kernel 2.6.9-67.0.15.elvm
Web server Apache (can't figure out which - hosted environment!)
Perl version 5.8.5
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2009-02-04 - NathanKoren
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.