public function init() { $modulePath = 'modules/mod_ecwid_similarproducts/'; $path = str_replace($modulePath, "", JURI::base()); self::$path = $path . 'modules/mod_ecwid_similarproducts/'; self::$siteCatalogPath = $path . "index.php?option=com_rokecwid&Itemid=75"; $app =& JFactory::getApplication(); $params =& $app->getParams("com_rokecwid"); self::$storeId = $params->get('storeID', 1003); }