nosk...@gmx.net wrote:
> Yes it works, the problem seams to be that authuser only works if the
> function PageTextVar is called after the defaultpassword definition.
> PageTextVar uses the RetrieveAuthPage this may cause the problem, so I
> guess I need try to get the ptv without authentifica
DaveG wrote:
>
> One thing:
> > $page = FmtPageName($pagename, '$Group.$Name' );
> > $SelfPagetype = PageTextVar($page, "pagetype");
>
> Not sure what FmtPageName returns, but try removing that line and do
> this instead:
> $SelfPagetype = PageTextVar($pagename, "pagetype");
>
>
> Are you sure $
One thing:
> $page = FmtPageName($pagename, '$Group.$Name' );
> $SelfPagetype = PageTextVar($page, "pagetype");
Not sure what FmtPageName returns, but try removing that line and do
this instead:
$SelfPagetype = PageTextVar($pagename, "pagetype");
Are you sure $SelfPagetype is being set ok
hi list
I stuck with a problem setting default password according to ptv's .
The ptv's are used to define the type ( Blog, Article, Issue, Comment.
...) of a page. So, for example I would like to set the default
password for blog-post to @authors and @nopass for comments.
wikipage: - - - - -