A router recipe has been posted to the cookbook at
http://www.pmwiki.org/wiki/Cookbook/Router

Router allows a website's url structure to be different from PmWiki's
group/page structure.


Development issue:

Router currently requires that it be executed before calling pmwiki.php.  If
it's permissible to change the value of $pagename from the config.php file,
I could make installation simpler and do everything from config.php.

I've tried it, and it appears to work, but I don't completely understand
what's going on in pmwiki.php(2.2.0beta63) lines 296-306, so I'm reluctant
to do it that way.  These lines appear to filter and assign a value to
$pagename just before the config files are included.

Any thoughts about the acceptibility of changing the value of $pagename in
config.php?


_______________________________________________
pmwiki-devel mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to