OK (noting I am using <a href="http://pmwiki.org/wiki/Cookbook/PerGroupSubDirectories">http://pmwiki.org/wiki/Cookbook/PerGroupSubDirectories</a>)<div><br></div><div>here is what I have, and it basically works</div><div><br>
</div><div>In config.php I have (for both websites)</div><div><br></div><div><div> $WikiDir = new PageStore('wiki.d/$Group/$FullName'); # per group subdirectories</div><div> $WikiLibDirs = array(</div><div> &$WikiDir,</div>
<div> new PageStore('/home/tahi/public_html/pmwiki/wikishared.d/$Group/$FullName', 0),</div><div> new PageStore('$FarmD/wikilib.d/$FullName'));</div><div><br></div><div>This lets the shared pages to be read.</div>
<div><br></div><div>In the SharedGroup.php I have (for both sites)</div><div><br></div><div><div>## only alter the directories when a page is posted in this group</div><div>if (@$_REQUEST['action']=='edit'</div>
<div> && preg_grep('/^post/', array_keys($_REQUEST) ) ) {</div><div> $LockFile = "/home/tahi/public_html/pmwiki/wikishared.d/.flock";</div><div> $WikiDir = new PageStore('/home/tahi/public_html/pmwiki/wikishared.d/$Group/$FullName', 1); # writeable shared group</div>
<div> $WikiLibDirs = array( &$WikiDir,</div><div> new PageStore('wiki.d/$Group/$FullName'), # per group subdirectories</div><div> new PageStore('$FarmD/wikilib.d/$Group/$FullName') );</div><div>
}</div><div><br></div><div>This works fine except when I do "save and edit"</div><div>Then I get the error</div><div><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><h3>
PmWiki can't process your request</h3><p class="vspace">?unable to retrieve edit form Site.EditForm</p><p class="vspace">although the page is saved successfully.</p><p class="vspace"><br></p><p class="vspace">Question: why is Site.EditForm not found?</p>
<p class="vspace"><br></p><p class="vspace">thanks in advance</p><p class="vspace"><br></p><p class="vspace">Simon</p><p class="vspace"><br></p><p class="vspace"><br></p></span></div></div></div><div><br></div>