Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

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

  1. take code, that does SetVar and sets "m_cat_id" from "kUrlManager::show404" and "kUrlManager::prepare404" methods
  2. add $template parameter to "kApplication::QuickRun" method
  3. use $template parameter value for:
    1. setting current template
    2. setting matching m_cat_id

Related Discussions

Related Tasks

  • No labels