You are here: Foswiki>Tasks Web>Item1486 (28 Aug 2010, ArthurClemens)Edit Attach

Item1486: EditChapter plugin breaks BlogAddOn

pencil
Priority: Normal
Current State: Closed
Released In:
Target Release: n/a
Applies To: Extension
Component:
Branches:
Reported By: SallyHoughton
Waiting For:
Last Change By: ArthurClemens
Enabling the EditChapterPlugin breaks the BlogAddOn when showing the overview in another page.

This is due to the BlogAddOn section called blogPostAddOnItem in BlogPost sets the resultant search format to
---+++
-- this means that the page will break and show
< span=
tages for each entry depending on whether you are logged in or not (i.e. if editchapter plugin comes into play, then it breaks).

I have updated the BlogPost.txt file to use %DISABLEEDITCHAPTER%;
myserver # diff BlogPost.txt BlogPost.txt.orig
55d54
< %DISABLEEDITCHAPTER%
myserver #

-- SallyHoughton - 21 Apr 2009

Try rendering headlines using html markup instead of tml. That way EditChapterPlugin won't pick them up.

-- MichaelDaum - 21 Apr 2009

Thanks - I tried that also and it did work. As it's a simpler change and highlights to me so that I can remember why, I'm leaving the DISABLEEDITCHAPTER tag in the BlogPost file. I'm not sure what Arthur Clemens wants to do with BlogAddOn as I guess that's where the fix finally needs to go.

-- SallyHoughton - 22 Apr 2009

Actually, I found that if you logout then the %DISABLEEDITCHAPTER% gets printed on the screen, so I have changed it to how Michael suggested;
myserver# diff BlogPost.txt BlogPost.txt.orig
55c55
< <h3>!! [[$web.$topic][$formfield(Title)]]</h3>
---
> ---+++!! [[$web.$topic][$formfield(Title)]]
myserver#


Has been fixed an an earlier release.

-- ArthurClemens - 28 Aug 2010

ItemTemplate edit

Summary EditChapter plugin breaks BlogAddOn
ReportedBy SallyHoughton
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r5 - 28 Aug 2010, ArthurClemens
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy