Hi,
i needs to have 3 differents contact form on 3 differents pages, i been looking for a solutions since hours and still cant make it, im following this option that i found on forum :
copy a set of all three files.
contact-form.php
controllers/ContactController.php
themes/YourSiteTheme/contact-form.tpl
2. Rename all of the files to new ones
contact-formXXX.php
controllers/ContactXXXController.php
themes/YourSiteTheme/contact-formXXX.tpl
3. Change related places in
controllers/ContactXXXController.php
class ContactXXXControllerCore extends FrontController
{
public function __construct()
{
$this->php_self = 'contact-formXXX';
$this->ssl = true;
parent::__construct();
}
....
public function displayContent()
{
$_POST = array_merge($_POST, $_GET);
parent::displayContent();
self::$smarty->display(_PS_THEME_DIR_.'contact-formXXX.tpl');
}
}
please note above XXX needs to be changed to your own names
But when i try acces to http://localhost/presta/index.php?controller=contact-formXXX
i got a 404 page not found only ! anyone have an idea what i forgot ???
Thanks in advance.