1 | ||
Editor:
Time: 2007/11/17 23:02:05 GMT-8 |
||
Note: works |
changed: - If in edit 'Page type:' is changed to 'Plain text' then the status fields are not display. To work-around, change the 'Page type:' to something else, Save, change status, edit change 'Page type:' back to 'Plain text'. From unknown Tue Jan 25 02:14:50 -0600 2005 From: Date: Tue, 25 Jan 2005 02:14:50 -0600 Subject: patch to plaintext.py Message-ID: <20050125021450-0600@page.axiom-developer.org> The following patch adds the IssueForm to pages of type Plain text:: diff --exclude='*.pyc' -Naur test/Products/ZWiki/pagetypes/plaintext.py main/Products/ZWiki/pagetypes/plaintext.py --- test/Products/ZWiki/pagetypes/plaintext.py 2004-11-17 14:57:59.000000000 -0600 +++ main/Products/ZWiki/pagetypes/plaintext.py 2005-01-25 01:47:04.000000000 -0600 @@ -18,6 +18,8 @@ def render(self, page, REQUEST={}, RESPONSE=None, **kw): t = page.preRendered() + if page.isIssue() and kw.get('show_issueproperties',1): + t = page.addIssueFormTo(t) t = page.renderMidsectionIn(t,**kw) t = page.addSkinTo(t,**kw) return t From unknown Tue Jan 25 02:15:37 -0600 2005 From: Date: Tue, 25 Jan 2005 02:15:37 -0600 Subject: property change Message-ID: <20050125021537-0600@page.axiom-developer.org> Status: assigned => testing From billpage Sat Nov 26 23:34:19 -0600 2005 From: billpage Date: Sat, 26 Nov 2005 23:34:19 -0600 Subject: works Message-ID: <20051126233419-0600@wiki.axiom-developer.org> Status: testing => closed
If in edit Page type:
is changed to Plain text
then the status
fields are not display. To work-around, change the Page type:
to
something else, Save, change status, edit change Page type:
back
to Plain text
.
diff --exclude='*.pyc' -Naur test/Products/ZWiki/pagetypes/plaintext.py main/Products/ZWiki/pagetypes/plaintext.py --- test/Products/ZWiki/pagetypes/plaintext.py 2004-11-17 14:57:59.000000000 -0600 +++ main/Products/ZWiki/pagetypes/plaintext.py 2005-01-25 01:47:04.000000000 -0600 @@ -18,6 +18,8 @@ def render(self, page, REQUEST={}, RESPONSE=None, **kw): t = page.preRendered() + if page.isIssue() and kw.get('show_issueproperties',1): + t = page.addIssueFormTo(t) t = page.renderMidsectionIn(t,**kw) t = page.addSkinTo(t,**kw) return t