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?

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.

Programming Languages

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

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'); />
Web Design

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
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
Development

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?

Web Development

- Technology - Languages
+ Webmasters
+ Development
+ Development Tools
+ Internet
+ Mobile Programming
+ Linux
+ Unix
+ Apple
+ Ubuntu
+ Mobile & Tablets
+ Databases
+ Android
+ Network & Servers
+ Operating Systems
+ Coding
+ Design Software
+ Web Development
+ Game Development
+ Access
+ Excel
+ Web Design
+ Web Hosting
+ Web Site Reviews
+ Domain Name
+ Information Security
+ Software
+ Computers
+ Electronics
+ Hardware
+ Windows
+ PHP
+ ASP/ASP.Net
+ C/C++/C#
+ VB/VB.Net
+ JAVA
+ Javascript
+ Programming
Privacy Policy - Copyrights Notice - Feedback - Report Violation 2018 © BigHow