mirceabondar Posted April 10, 2013 Share Posted April 10, 2013 I created a new php file without tpl file. My php file is: <?php include(dirname(__FILE__).'/config/config.inc.php'); include(dirname(__FILE__).'/header.php'); $smarty->display(_PS_THEME_DIR_."grafica-pliante.tpl"); if(!isset($_GET['actiune'])) $_GET['actiune'] = ''; switch($_GET['actiune']){ case 'validare': function farafisier(){ if(!isset($_POST['nume'])) $_POST['nume'] = ''; if(!isset($_POST['telefon'])) $_POST['telefon'] = ''; if(!isset($_POST['email'])) $_POST['email'] = ''; ..... ... .... include(dirname(__FILE__).'/footer.php'); ?> In prestashop admin panel (seo&urls) i added my php file (metatile description and friendly url. Friedly url works but metatitle and description not works.my page title is show domain dame. Need help to chage metatitle and description.. Link to comment Share on other sites More sharing options...
vekia Posted April 10, 2013 Share Posted April 10, 2013 use front controller class and function setmedia() maybe this will help Link to comment Share on other sites More sharing options...
mirceabondar Posted April 11, 2013 Author Share Posted April 11, 2013 how do this? I don't under stand Link to comment Share on other sites More sharing options...
vekia Posted April 11, 2013 Share Posted April 11, 2013 if you use prestashop 1.5.x try to use this: $fc=new Frontcontroller(); $fc->setmedia(); Link to comment Share on other sites More sharing options...
mirceabondar Posted April 11, 2013 Author Share Posted April 11, 2013 I have 1.4.9.0 but not work Link to comment Share on other sites More sharing options...
vekia Posted April 11, 2013 Share Posted April 11, 2013 ah thanks, so the frontcontroller & setmedia will not work :/ Link to comment Share on other sites More sharing options...
mirceabondar Posted April 12, 2013 Author Share Posted April 12, 2013 Other solution is not exist? Link to comment Share on other sites More sharing options...
Recommended Posts