SID-00075: Blogroll not working in BlogAddOn Plugin
| Status: |
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> <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
<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
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.