Jump to content

jhonsonlu

Members
  • Posts

    4
  • Joined

  • Last visited

jhonsonlu's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, here is my complete index.php file <?php include(dirname(__FILE__).'/config/config.inc.php'); if(intval(Configuration::get('PS_REWRITING_SETTINGS')) === 1) $rewrited_url = __PS_BASE_URI__; /* CSS ans JS files calls */ $css_files = array(__PS_BASE_URI__.'css/jquery.cluetip.css' => 'all', _THEME_CSS_DIR_.'scenes.css' => 'all'); include(dirname(__FILE__).'/header.php'); $smarty->assign('HOOK_HOME', Module::hookExec('home')); /* Scenes (could be externalised to another controler if you need them */ $smarty->assign('scenes', Scene::getScenes(1, intval($cookie->id_lang), true, false)); $smarty->display(_PS_THEME_DIR_.'index.tpl'); include(dirname(__FILE__).'/footer.php'); ?> and whats about themes in index.tpl directory, should be edited as rocky posts. I've tried what you wrote above, but didn't work for me somebody help me please, i really need this feature :-S i 'm using 1.3.7.0
  2. Hi, here is my complete index.php file <?php include(dirname(__FILE__).'/config/config.inc.php'); if(intval(Configuration::get('PS_REWRITING_SETTINGS')) === 1) $rewrited_url = __PS_BASE_URI__; /* CSS ans JS files calls */ $css_files = array(__PS_BASE_URI__.'css/jquery.cluetip.css' => 'all', _THEME_CSS_DIR_.'scenes.css' => 'all'); include(dirname(__FILE__).'/header.php'); $smarty->assign('HOOK_HOME', Module::hookExec('home')); /* Scenes (could be externalised to another controler if you need them */ $smarty->assign('scenes', Scene::getScenes(1, intval($cookie->id_lang), true, false)); $smarty->display(_PS_THEME_DIR_.'index.tpl'); include(dirname(__FILE__).'/footer.php'); ?> and whats about themes in index.tpl directory, should be edited as rocky posts. I've tried what you wrote above, but didn't work for me
×
×
  • Create New...