Logo de Prestashop

Goals


- Learn to develop additional modules for prestashop

Program

Reminder of html, css, php
Naming standards, the camelCase

Declare a module (name, description, logo, etc.)
The class install () and uninstall ()
Define one or more positions
Integrate the Bootstrap library

Workshop: Create an additional module

Use the getContent () method
The HelperForm class and the forms
Retrieve, validate, save the configuration
Use of the Tools & Configuration class

Workshop: Create a configuration page

Presentation of the prestashop MVC View
files tpl, introduction to smarty
The Context class
Transmitting data to a view, the assign () method
Presentation of the ModuleFrontController class
Declaration of a front office controller

Workshop: create a view for our module

Multi-language, the l () method
Translation of strings from the admin
Add css and js files
Add jquery library

Workshop: Making the module multi-language

The Prestashop CRUD
Presentation of the AdminModuleController class
Declare an admin controller
Link data to an sql table
Execution of queries, the Dbquery class
Models
Display the list of data found in the database

Workshop: add an administrative part

Add, modify Display data details
Single and mass deletion
CSV export
Format the data in the list, the method callback
Use the toolbar

Workshop: multiple handling of the administration

Activate and deactivate a line
Order and reposition the lines
Add a wysiwyg
Date, date_add & date_update, logo fields

Duration

2 days

Price

£ 1284

Audience

PHP Developers

Prerequisites

Proficiency in HTML, CSS, PHP and syntax in object-oriented programming

Reference

OPE916-F

Sessions

Contact us for more informations about session date