<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks Peter, very helpful.<br>
<br>
I'll consult again as I review your ideas. <br>
<br>
I'm inclined towards having a clear text copy in a (non wiki) file for
easy direct editing, as well as on a wiki page. (See response to
patrick in which I propose an xml format). So the layers would be
WikiConfigPage-&gt;xml file-&gt;PmWiki global variables, with recipe
code to manage (and control) the transitions.<br>
<br>
I'll also review presentation issues more and get back.<br>
<br>
- Henrik<br>
<br>
Peter Bowers wrote:
<blockquote
 cite="mid:784f80490902041016vc8548cdx987b809f9d4ab4e4@mail.gmail.com"
 type="cite">
  <div class="gmail_quote">
  <div class="gmail_quote">
  <div class="Ih2E3d">On Wed, Feb 4, 2009 at 6:19 PM, Henrik Bechmann <span
 dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:henrik@bechmann.ca" target="_blank">henrik@bechmann.ca</a>&gt;</span>
wrote:<br>
  </div>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div class="Ih2E3d">I want to surface some (more) admin settings to
wiki pages through a<br>
recipe, and wanted to kick some ideas around.<br>
    <br>
Initially, I want to allow admins of my websites to set skins through an<br>
admin interface, but I anticipate other uses as well (enabling certain<br>
recipes for example). So I'm searching for a fairly generic way of<br>
approaching this, that could easily be extended.<br>
    </div>
...</blockquote>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div class="Ih2E3d">On the SiteAdmin.Config wiki page the entry
would (in the short run)<br>
look like this:<br>
    <br>
EnableRelativePageVars:1<br>
    <br>
    </div>
    <div class="Ih2E3d">Anyone have any thoughts on any of this?<br>
    </div>
  </blockquote>
  <div><br>
You may want to look at Cookbook/PageConfig for a start.&nbsp; (<a
 moz-do-not-send="true"
 href="http://www.pmwiki.org/wiki/Cookbook/PageConfig" target="_blank">http://www.pmwiki.org/wiki/Cookbook/PageConfig</a>)<br>
  <br>
I think security is the single biggest issue you have to deal with.&nbsp;
With PageConfig I've tried to err on the side of giving the "real
administrator" absolute control over what the "page administrators" can
and can't do.&nbsp; I.e., in config.php you can specify which variables
can/cannot be set and even specify what valid values are allowed or
not; you can specify a list of allowable scripts to include or exclude,
etc.&nbsp; I've also made sure that pmwiki conditionals are available so
that per-page, per-group, per-author, etc configuration can be easily
achieved.<br>
  <br>
The syntax for the directives on the page is not very user-friendly and
needs to be changed - I just haven't put enough thought into what would
be good for it...&nbsp; But if it looks like the functionality you are
looking for is there and you have an idea on the directive syntax I'd
be happy to look into implementing it.<br>
  <br>
Do note that putting this additional configuration alternative into the
mix can really multiply the difficulty of tracking down
configuration-related problems.&nbsp; <br>
  <br>
-Peter<br>
  </div>
  </div>
  </div>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
pmwiki-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a>
<a class="moz-txt-link-freetext" href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a>
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 

Henrik Bechmann
bechmann.ca
</pre>
</body>
</html>