This question about Using an extension: Answered
Including BlogPost doesn't display properly with EditChapterPlugin
Hi Arthur and others.
Updated: this is not to do with FF or IE. It's an interaction between the BlogAddOn
, which only visible when you log in.
I am having trouble getting the BlogAddOn
to correctly display a summary of posts with and INCLUDE when EditChapterPlugin
topic itself renders perfectly, but when I INCLUDE it on an empty page, the span tag is corrupted, so no posts are displayed. The generated HTML for the post summaries is incorrect, looking like this:
<h3><a name="span_class"></a> <span class= </h3>
<h3><a name="span_class_AN1"></a> <span class= </h3>
Wheras with the non-INCLUDED BlogPost
page, the HTML renders correctly, like this:
<h3><a name="Blog_post_example"></a> <a href="/foswiki/bin/view/Main/BlogPostExample">Blog post example</a> </h3>
If I disable EditChapterPlugin
on this page, then the text is rendered correctly.
Could you help me to understand this interaction between BlogPostAddOn
when INCLUDE is used?
I am also concerned that this could affect other INCLUDED pages so I would like to understand the source.
Server is RH4, apache 2.x, client is XP, FF3.6.
Thanks for any advice, I am availanble if you need more info.
OK, now I found the source of this, and it's actually documented in the limitations of EditChapterPlugin
. The issue is that EditChapterPlugin
will not understand parameterised INCLUDEs, which are used in the BlogPost
page. Apologies for raising, then answering my own question.
I'll leave the answer here, in case it trips anyone else up, by feel free to delete at any appropriate point.