Jump to content

Metatitle new php file


Recommended Posts

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

×
×
  • Create New...