[pmwiki-users] Skin Change list
Patrick R. Michaud
pmichaud at pobox.com
Fri Mar 3 08:28:08 CST 2006
On Fri, Mar 03, 2006 at 08:40:23AM -0500, Susan wrote:
>
> http://www.pmwiki.org/wiki/Cookbook/SkinChange
>
> Gives a section of php code to put in /local/config.php that will build
> a list of skins automatically.
Actually, I think that code may be a little bit of overkill -- one can
do a similar thing much more quickly with:
include_once('cookbook/skinchange.php');
if (!$Skin && preg_match('/^[-\\w]+$/', $sk)
&& is_dir("$FarmD/pub/skins/$sk")) $Skin = $sk;
But that doesn't answer your ultimate question, which is...
> How do I then (in the wiki-text) show this list to the user?
There's not a way to do this at present -- it would need a custom
markup.
Pm
More information about the pmwiki-users
mailing list