Hi, The COMMON_PAGE_FROMTEMPLATE event currently wraps around the pattern replacements for namespace templates. The BEFORE hook let's you change the content of the template, but that happens after looking for the template it self. This makes replacing the whole template logic by something else not impossible but inefficient. I'd like to have an event that makes it possible to do three things: * prevent the lookup of page templates * load your own page template text * prevent or allow pattern replacements on the loaded template text There are two methods I could imagine 1) use two events. keep the current event as is and wrap a second event around the template loadin process 2) modify the current event to not wrap around the replacement logic but around the template loading process and have it set an event data option that controls if the output should be parsed According to the survey [1] the COMMON_PAGE_FROMTEMPLATE is not used by any plugins currently, but it's predecessor HTML_PAGE_FROMTEMPLATE is. What do you guys think? Which approach is the better choice? Andi [1] http://www.dokuwiki.org/devel:plugin_survey:events -- splitbrain.org -- DokuWiki mailing list - more info at http://www.dokuwiki.org/mailinglist