[pmwiki-users] Re: New feature proposal - need help with markup selection
Patrick R. Michaud
pmichaud at pobox.com
Wed Mar 16 16:34:59 CST 2005
On Wed, Mar 16, 2005 at 10:56:40PM +0100, Joachim Durchholz wrote:
> On a tangent, I'm wondering whether it's possible to enable a recipe on
> a per-group basis. It might be as simple as
>
> if($Group = 'Somegroup') {
> include_once('local/some_complicated_stuff.php');
> }
>
> in config.php - or am I overlooking something?
Ummm, perhaps creating local/Somegroup.php with
<?php
include_once('local/some_complicated_stuff.php');
?>
> >I'd suggest continuing the tradition of using a leading dollar sign to
> >denote variables. Yes, it will invite some confusion between PmWiki
> >pseudo-variables versus PHP variables versus markups for variables,
> >but at least we know it's a variable and there's some hope of unifying
> >things in the future.
>
> That might conflict with the usage of PHP variables in the skin template
> files.
No, it shouldn't, since PHP variable substitutions in the skin template
are all managed by the FmtPageName() function.
Pm
More information about the pmwiki-users
mailing list