[pmwiki-users] Is it possible? Draft Page indication and cross reference

Crisp, Steve [UK] SCRISP at ngms.eu.com
Wed Jul 4 04:38:25 CDT 2007


All,

I am using pmwiki-2.2.0-beta54 with the new EnableDrafts feature.  This
works really well however I'd like to know if the following capability
is available/possible.  Below assumes you have a 'published' page and a
draft page saved (as work in progress)

1. Draft page indicator - From the published page have a link/indication
that a draft page exists.  One example could be an asterix (*) next to
the page title marking a draft exists.  Clicking the asterix would take
you to view the latest draft.

2. Draft caveat - When viewing a draft page, could the page title
(:title:) be appended with 'DRAFT' in red?  This would be a good
indication that you are viewing the Draft page not the published page.
Obviously, the draft suffix could be configurable via a variable for
I18N purposes.

IMHO the above two enhancements would really compliment the existing
page draft capability within PmWiki.

If anyone has any hints on how to do this please let me know as I've
hacked a few PmWiki recipes before.

TIA,
-Steve.




More information about the pmwiki-users mailing list