smarty = new stSmarty($this->getModuleName()); $producer_config = stConfig::getInstance(sfContext::getInstance(), 'stProducer'); $this->getUser()->getAttributeHolder()->remove('chosen_category'); if ($producer_config->get('clear_filter')) { stProducer::clearSelectedProducerId(); } if ($this->hasRequestParameter('uniqid')) { $this->uniqid = $this->getRequestParameter('uniqid'); $this->getUser()->setAttribute('uniqid_shop_id', $this->getRequestParameter('uniqid')); } else { $this->uniqid = false; } $this->getResponse()->setCanonicalLink(st_url_for(array('module' => 'stFrontendMain', 'action' => 'index'), true, null, stLanguage::getInstance($this->getContext())->getDomain())); } public function executeThemeDemo() { } }