On Fri, 18 Jul 2008, Patrick R. Michaud wrote:

By the time the markup is being processed, it's too late to do anything useful with $DefaultPageTextFmt. $DefaultPageTextFmt determines what text (markup) to use if a page doesn't exist -- thus it has to be handled _before_ any markup processing takes place.

What you may want to do instead is:

   SDV($DefaultPageTextFmt,
     '(:include {$Group}.pmPageNotFound $[{$SiteGroup}.PageNotFound:)');
                                           ^
That '[' looks suspicsious to me?

This uses the pmPageNotFound page of the current group if it exists,
falling back to Site.PageNotFound if it doesn't.

Maybe this could be a recipe otherwise?

/Christian

--
Christian Ridderström, +46-8-768 39 44            http://www.md.kth.se/~chr
_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to