[pmwiki-users] Suggested page property: shared page

Bellave Jayaram bellavejayaram at cox.net
Wed Mar 29 14:41:09 CST 2006


Bronwyn,
	I am definitely interested in this. This would enable editing if it
is in one pagestore and readonly if it is in shared.d, for example, which
would serve a simple workflow from draft to approved. 

I am guessing this could be made visible only for those with edit (or
admin?) permissions?

Jayaram

-----Original Message-----
From: pmwiki-users-bounces at pmichaud.com
[mailto:pmwiki-users-bounces at pmichaud.com] On Behalf Of Bronwyn Boltwood
Sent: Wednesday, March 29, 2006 1:10 PM
To: Pmwiki-Users
Subject: [pmwiki-users] Suggested page property: shared page

Since there's been some discussion about page properties and turning
those into a form, I thought I'd pipe up and ask for something I want
in that form, if it happens:

[X] Shared page       Stored in: <dropdown with list of writable
shared pagestores available>

The dropdown should default to:
- if page is already shared, the pagestore that it is currently in
- if page is not shared, default to the the first writable pagestore
set in config.php, then in farmconfig.php

E.g. with the snippet

$WikiLibDirs = array(
  &$WikiDir,
  new PageStore('../exalted/wiki.d/$FullName', 1),
  new PageStore('$FarmD/shared.d/$FullName', 1),
  new PageStore('$FarmD/wikilib.d/$FullName'));

the dropdown would default to ../exalted/wiki.d, and also offer
$FarmD/shared.d.  Pagestores would probably need nicknames.

Unchecking the "Shared page" box means that the file is moved to the
appropriate wiki.d folder.

Is anyone else interested in this?

Bronwyn

_______________________________________________
pmwiki-users mailing list
pmwiki-users at pmichaud.com
http://host.pmichaud.com/mailman/listinfo/pmwiki-users





More information about the pmwiki-users mailing list