Right now the "kApplication::QuickRun" method does this:
- discards any previously parsed template content
- renders current template (obtained via GetVar) content instead
This isn't very flexible.
Solution
- take code, that does "SetVar" and sets "m_cat_id" from "kUrlManager::show404" and "kUrlManager::prepare404" methods
- add $template parameter to "kApplication::QuickRun" method
- use $template parameter value for:
- setting current template
- setting matching m_cat_id
Related Discussions
- The "404 Not Found" page title comes from other page [5.2.2-B1]
- [system log] Special template for fatal errors and uncatched exceptions [5.3.0-B1]