sharing farm groups ( was: Re: [pmwiki-users] Re: Restricting information (Was: General Farming Questions))
Neil Herber
nospam at eton.ca
Tue Oct 4 10:27:45 CDT 2005
At 2005-10-03 07:59 PM +0200, chr at home.se is rumored to have said:
>You can start with the code below. I'm using it for another site, works ok
>but there are issues with AllRecentChanges and some other minor stuff
>IIRC.
>
>// Modify page library search, making some groups common for the farm
>if(true) {
> $WikiLibDirs = array(&$WikiDir,
> new PageStore("$FarmD/shared.d/\$FullName"),
> new PageStore('$FarmD/wikilib.d/$FullName'));
...lots snipped ....
Thanks Christian. I wish I spoke more "PHPese" so that I could
understand what the code snippet does.
I have thought about this "sharing" stuff some more and I think I now
know what I really want/need to do.
Wiki fields:
* common (unserved, but is the farm field)
* private A
* private B
* private C
* semi-private D
* public E
For all fields (A to E), I want to share common "how to" pages. They
could live in a "HowTo" or "Shared" or "Common" group in the common
farm field if need be. Only I would ever need to edit them.
For the private fields (A, B, C), I want them to share one Profiles
group and allow users to edit the profiles from any of the fields.
Just to be perfectly clear - there would be only one profile per
person, and it would be accessible from any of the 3 fields.
For the fields D and E, I want them to share another Profiles group
and allow users to edit the profiles from either of the groups. The
Profiles groups for fields ABC and DE must be different.
I am sure this is possible - I just don't have the PHP vocabulary to do it.
Neil
Neil Herber
Corporate info at http://www.eton.ca/
Eton Systems, 15 Pinepoint Drive, Nepean, ON, Canada K2H 6B1
Tel: (613) 829-4668
More information about the pmwiki-users
mailing list