[pmwiki-users] Change the Page Does Not Exist page if not authorized

Petko Yotov 5ko at 5ko.fr
Tue Feb 5 17:18:53 CST 2008


On Wednesday 06 February 2008, Sandy wrote:
> Currently, if you go to a page that does not exist, and you are not
> authorized to create one, it asks for a password before doing anything
> else, without explaining why.
>
> I would like the user to be told the page doesn't exist and get a link
> to the Search page, as well being asked to log in.
>
> I tried editing Site.PageNotFound, but the request for a password comes
> up before that page.

Edit the Site.AuthForm page too. Site.AuthForm is displayed when a user calls 
a restricted page with ?action=edit. Site.PageNotFound is displayed when a 
user calls the page without any action.

Thanks,
Petko




More information about the pmwiki-users mailing list