[pmwiki-users] Get rid of page not exist message

Neil Herber nospam at eton.ca
Fri Jun 2 14:06:43 CDT 2006


At 2006-06-02  01:49 PM -0500, Patrick R. Michaud is rumored to have said:
>Maybe change the Site.PageNotFound page, which says what to
>display whenever someone arrives at a non-existent page?

My Site.PageNotFound page contains:

>(:if !group Category:)The page "{$RequestedPage}" doesn't exist.
>(:if auth edit:)%rel=nofollow% ([[{$FullName}?action=edit | Create 
>{$FullName}]])
>(:if:)

According to the docs, ifs don't nest, so it surprises me greatly 
that when I browse to a non-existent Category page with edit 
authorization, the "create" link does not show. How does that work???


Neil Herber
Corporate info at http://www.eton.ca/ 





More information about the pmwiki-users mailing list