This website has been migrated from an on-prem LAMP wordpress stack to a Jekyll on Github stack, fully hosted. Read more in the migration from WP to Jekyll article.

105 Posts

Specify the transition in an Advanced Javascript Code in Adobe Campaign

With the defaultJavascript Code we only have 1 transition named ok. But what if you want to use multiple transitions, depending on conditions? You have to...

How to display any Smarty template?

// display it right away
$tpl = _PS_ALL_THEMES_DIR_.'/my_theme/templates/index.tpl';
// or use it as html
$tpl = _PS_ALL_THEMES_DIR_.'/my_theme/templates/index.tpl';
$html = $this->context->smarty->fetch($tpl);
echo $html;

How to use Uploader, the Prestashop upload management class?

Tired of using $_FILES and move_uploaded_file? Well, Uploader is here to help you! No more error checking, extension safety, etc. This tutorial will show you how to upload files from...

Add a module manually with Prestashop 1.7

Your UI is not working? Your Backoffice doesn’t allow you to install a module anymore because you tweaked it? You can install a module by hand in SQL directly by...

Create an Admin Controller for a custom SQL table (Part 1/2) [Prestashop 1.7]

Prestashop has developed a great admin interface: data table, filters, edit/create form, etc. But you know what? You can re-use this UI for your own SQL tables. This tutorial will...

Add variables from a Workflow in a Delivery in Adobe Campaign

You process then create variables in your Workflow and you would like to be able to use them in a delivery? You can! Adobe Campaign allows you to define Delivery...

Nginx.conf for Let's Encrypt auto https renewal

Let’s Encrypt uses a GET request to your website to automatically renew your certificate. Let’s Encrypt may encounter some 403 unauthorized when trying to make this HTTP request because it...

How to send an email from Javascript?

Have you ever wanted to send an email from client-side? You only have javascript at your disposal but you don’t want your customers to be able to see your credentials?...

Execute a WHERE on a linked table in a Backoffice List of Prestashop 1.7

You have a list with a linked table? For example in the AdminController you display Customer, right? What if you want to separate first names and last names ; and...