Prestashop CMS configration



Hi I'm totally new to Prestashop and installing it first time can any one tell me What is mcrypt in Prestashop?


Related to : Prestashop CMS configration
Prestashop 1.5 - Import huge data(categories, products, customers, addresses) from another prestashop 1.4 installation,
Programming Languages

i have prestashop 1.5 installed on server A, on server B there is prestashop 1.4 installed with thousands of products and database size is about 500mb. I want to import all those products, categories, customers and their addresses from 1.4 installation to 1.5 installation. I have access to both servers. CSV export for products is taking like forever what should i do to import this all to 1.5.


Prestashop CMS configration
Programming Languages

Hi I'm totally new to Prestashop and installing it first time can any one tell me What is mcrypt in Prestashop?


PrestaShop - Reload CMS page with aditional parameters
Programming Languages

I have a problem I can't solve myself and I would appreciate some help.


Situation: I needed to add form with POST method to CMS page. I created custom hook and a module displaying the form successfuly. Then I need to react to user input errors eg. when user doesn't enter email address I need to detect it, display the whole page again together with the form and with "errors" in user input clearly stated.


Problem: The problem is to display the WHOLE page again with connected information (eg. about errors etc.). In the module PHP file when I add this kind of code,


return $this->display(__FILE__, 'modulename.tpl');
creating a prestashop module trying to Show error on PrestaShop Module
Programming Languages

I'm trying to display an error when the user submits data from a form, but no error.


try putting in the driver (forcing you to show me an error)
as follows


public function postProcess()
{
$ this-> errors [] = Tools :: DisplayError ('Invalid e-mail address');
}

and in the template


{include file = "$ tpl_dir. / errors.tpl"}
<form method="post" action="{$request_uri|escape:'htmlall':'UTF-8'}" class="std" id="form_confirmPassword">
<fieldset>
<p class="text">
<label for="email"> {l s = 'E-mail'} </ l
Tell me the best Pc Configration ?
Programming Languages
Friend i want to buy New PC , so please tell me the best configuration of PC. i will use this PC at home as a personal computer, so i need some suggestion what can i add in PC configuration ? so suggest me please
Custom page in Prestashop 1.6 without CMS
Programming Languages

I'm currently creating a customized page based on Bootstrap so I cannot pass through the CMS.

I created a file Mypage.php that I put at the Prestahop root containing this code :

<?php
    require(dirname(__FILE__).'/config/config.inc.php');
    ControllerFactory::getController('MypageController')->run();
?>

Then I created a controller MypageController.php containing this code in override/controllers/front :

class MypageControllerCore extends FrontController
{
    public $php_self = 'Mypage.php';
    public $ssl = true;

    public function preProcess()
    {
        parent::preProcess();
    }

    public function setMedia()
    {
        parent::setMedia();
        Tools::addCSS(_THEME_CSS_DIR_.'Mypage.css');
    }

    public function displayContent()
    {
        $_POST = array_merge($_POST, $_GET);
        parent::displayContent();
        self::$smarty->display(_PS_THEME_DIR_.'Mypage.tpl');
    }
}

And finally I put a Mypage.tpl file in my theme directory with my HTML code.

I naturally erased cache/class_index.php but I still get a 404 error. Any ideas?



Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .