[pmwiki-users] Un-enabling EnableHTML for a specific group?
H. Fox
haganfox at users.sourceforge.net
Mon Apr 17 12:19:13 CDT 2006
On 4/17/06, Joachim Durchholz <jo at durchholz.org> wrote:
> Russ schrieb:
> >
> > Is there a way to override or reset the allowed HTML tags for one group,
> > or "uninclude" the EnableHTML recipe for that group?
>
> Yes. Simply don't include() enablehtml.php if $Group is the name of the
> GroupToBeExcluded. I.e.
>
> if($Group!='GroupToBeExcluded') {
> include_once('enablehtml.php');
> }
First you'll want to set $Group
## Get the group and page name
$pagename = ResolvePageName($pagename);
$group = PageVar($pagename, '$Group');
$name = PageVar($pagename, '$Name');
if($Group != 'GroupToBeExcluded') {
include_once('enablehtml.php');
}
Hagan
More information about the pmwiki-users
mailing list