Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

...