PrestaShop - Kathmandu Ecommerce Meetup #1 organized by PrestaShop and PS Ambassador in Nepal. Join our meetup.com group here https://www.meetup.com/PrestaShop-Kathmandu-Ecommerce-Meetup/
How to Develop Your First Ever Joomla Template?damienwoods
Sometimes creating a template gives you the freedom of customizing it. You can position the header, footer and other aspects of the template as and where you want to. Follow these steps to create your template, and then change the positions of the different elements as per your need. Hire Joomla developer to give your template the aesthetic purview
Mageguru - magento custom module development Mage Guru
step by-step guide for magento module development. Hire dedicated magento 2 developers from mageguru with 5+ years experience, starting at just $18/hr to render highly robust, scalable and high-performance magento 2 compliment your business requisites.
Finding Your Way: Understanding Magento CodeBen Marks
With millions of lines of code, an unconventional approach to MVC framework architecture, and unique concepts such as layout XML, Magento can be intimidating for the new developer and even difficult for experienced Magento developers. This talk aims to help developers find answers in the codebase by breaking down the technologies, design patterns, and module structure into intuitive chunks. Starting with a high level view of Magento's MVC implementation, a pre-developed module is dissected in order to demonstrate various areas of the framework as well as the application-level settings and features which can thwart (or aide!) developers.
Topics covered include the following:
* MVC theory as implemented by Magento, especially the thin-controller, fat-view concept
* Overall module architecture * Finding method definitions when grep won't work, aka "when __call() strikes"
* Identifying poor-performing code using native code profiling tools
* An infallible (well, nearly-infallible) flowchart for finding problematic code
* Essential developer preparations
PrestaShop - Kathmandu Ecommerce Meetup #1 organized by PrestaShop and PS Ambassador in Nepal. Join our meetup.com group here https://www.meetup.com/PrestaShop-Kathmandu-Ecommerce-Meetup/
How to Develop Your First Ever Joomla Template?damienwoods
Sometimes creating a template gives you the freedom of customizing it. You can position the header, footer and other aspects of the template as and where you want to. Follow these steps to create your template, and then change the positions of the different elements as per your need. Hire Joomla developer to give your template the aesthetic purview
Mageguru - magento custom module development Mage Guru
step by-step guide for magento module development. Hire dedicated magento 2 developers from mageguru with 5+ years experience, starting at just $18/hr to render highly robust, scalable and high-performance magento 2 compliment your business requisites.
Finding Your Way: Understanding Magento CodeBen Marks
With millions of lines of code, an unconventional approach to MVC framework architecture, and unique concepts such as layout XML, Magento can be intimidating for the new developer and even difficult for experienced Magento developers. This talk aims to help developers find answers in the codebase by breaking down the technologies, design patterns, and module structure into intuitive chunks. Starting with a high level view of Magento's MVC implementation, a pre-developed module is dissected in order to demonstrate various areas of the framework as well as the application-level settings and features which can thwart (or aide!) developers.
Topics covered include the following:
* MVC theory as implemented by Magento, especially the thin-controller, fat-view concept
* Overall module architecture * Finding method definitions when grep won't work, aka "when __call() strikes"
* Identifying poor-performing code using native code profiling tools
* An infallible (well, nearly-infallible) flowchart for finding problematic code
* Essential developer preparations
Recently we presented on WordCamp Thessaloniki how we can use WordPress as a Framework. In this presentation you can find some nice ideas on what is a Framework, how WordPress can be used as one and how we can start building custom apps using WordPress. Enjoy!
A Successful Magento Project From Design to DeploymentJoshua Warren
Magento is a complex open source eCommerce platform. It’s open source nature and welcoming community means anyone can pick it up, learn it and launch it. After working on over 300 different Magento sites in the past 6 years, however, I’ve learned that many of the misconceptions about Magento - it’s slow, hard to work with, buggy or unstable come from projects that were built by first-timers who weren’t aware of Magento best practices. In this tutorial, I walk you through the entire process of creating, testing and deploying a high-performing, fast Magento-based eCommerce website.
A book for learning puppet by real example and by building code. Third chapter shows a basic use case of installing tomcat and creating a module to do the same.
PHP and MySQL : Server Side Scripting For Web DevelopmentEdureka!
PHP scripting and MySQL database are one of the worlds most popular open source techniques used to develop websites. Add an advantage of a MVC framework to it and you can develop powerful, dynamic and easy to maintain database driven websites. PHP, MySQL and CakePHP are also platform independent i.e. You can easily port a website developed on a windows machine to a Linux based apache web server with minimal to no changes. The CakePHP MVC architect also adds some additional security against threats like SQL injections, hacking etc.
Developing new feature in Joomla - Joomladay UK 2016Peter Martin
Presentation "The Category Item Counter - developing a new feature" at Joomladay UK 2016 on February 13th in London, UK.
How does a new feature end up in Joomla? Peter talked about the new Category Item Counter feature that will be available in Joomla 3.5:
* the purpose of the feature
* where & how the idea for the "Nice" feature originated
* how the community helped to develop this feature
* how Joomla's development cycle works, including patch testing procedure, and who's Travis?
* the problems with differences in core components
* the hidden secret of com_categories
* how to add a Category Item Counter to your own component
Presentation video: http://www.youtube.com/watch?v=CK_tYC-Yy_c?t=45s
How to Build a Module in Odoo 15 Scaffold MethodCeline George
Scaffolding is the way of building a skeleton structure for a module in Odoo. Using Odoo scaffolding we can create the module structure automatically. It saves much of our effort in creating a module manually. This slide lets us see how to use scaffolding in Odoo development.
SDLC is a framework defining tasks performed at each step in the software or system development process. It aims to produce high quality system that meets or exceeds customer expectations, work effectively and efficiently in the current and planned information technology infrastructure, and is inexpensive to maintain and cost effective to enhance.
This presentation includes different stages of Software Deveolopment.
Recently we presented on WordCamp Thessaloniki how we can use WordPress as a Framework. In this presentation you can find some nice ideas on what is a Framework, how WordPress can be used as one and how we can start building custom apps using WordPress. Enjoy!
A Successful Magento Project From Design to DeploymentJoshua Warren
Magento is a complex open source eCommerce platform. It’s open source nature and welcoming community means anyone can pick it up, learn it and launch it. After working on over 300 different Magento sites in the past 6 years, however, I’ve learned that many of the misconceptions about Magento - it’s slow, hard to work with, buggy or unstable come from projects that were built by first-timers who weren’t aware of Magento best practices. In this tutorial, I walk you through the entire process of creating, testing and deploying a high-performing, fast Magento-based eCommerce website.
A book for learning puppet by real example and by building code. Third chapter shows a basic use case of installing tomcat and creating a module to do the same.
PHP and MySQL : Server Side Scripting For Web DevelopmentEdureka!
PHP scripting and MySQL database are one of the worlds most popular open source techniques used to develop websites. Add an advantage of a MVC framework to it and you can develop powerful, dynamic and easy to maintain database driven websites. PHP, MySQL and CakePHP are also platform independent i.e. You can easily port a website developed on a windows machine to a Linux based apache web server with minimal to no changes. The CakePHP MVC architect also adds some additional security against threats like SQL injections, hacking etc.
Developing new feature in Joomla - Joomladay UK 2016Peter Martin
Presentation "The Category Item Counter - developing a new feature" at Joomladay UK 2016 on February 13th in London, UK.
How does a new feature end up in Joomla? Peter talked about the new Category Item Counter feature that will be available in Joomla 3.5:
* the purpose of the feature
* where & how the idea for the "Nice" feature originated
* how the community helped to develop this feature
* how Joomla's development cycle works, including patch testing procedure, and who's Travis?
* the problems with differences in core components
* the hidden secret of com_categories
* how to add a Category Item Counter to your own component
Presentation video: http://www.youtube.com/watch?v=CK_tYC-Yy_c?t=45s
How to Build a Module in Odoo 15 Scaffold MethodCeline George
Scaffolding is the way of building a skeleton structure for a module in Odoo. Using Odoo scaffolding we can create the module structure automatically. It saves much of our effort in creating a module manually. This slide lets us see how to use scaffolding in Odoo development.
SDLC is a framework defining tasks performed at each step in the software or system development process. It aims to produce high quality system that meets or exceeds customer expectations, work effectively and efficiently in the current and planned information technology infrastructure, and is inexpensive to maintain and cost effective to enhance.
This presentation includes different stages of Software Deveolopment.
It's reference slide for BBA First Semester Students of Prime College, Kathmandu -
Nepal.
Contents include:
Information System and Business
MkIS Introduction
Features of MkIS
Components/Subsystems of MkIS
- Internal Records System
- Marketing Intelligence System
- Marketing research System
- Marketing Decision Support System
Advantages of MkIS etc.
Primary Memory: RAM, ROM and their TypesHem Pokhrel
Random Access Memory and Read Only Memory along with their types:
Content includes basic introduction of SRAM, DRAM, NvRAM, Masked ROM, PROM, EPROM, EEPROM
Introduction to Bus | Address, Data, Control BusHem Pokhrel
Handouts for BBa First Semester Prime College.
UNIT 5: Central Processing Unit: Control Unit, Arithmetic and Logic Unit, Register set, Functions of Central Processing Unit. Introduction to Bus (Address, Data, Control)
Software Agents & Their Taxonomy | Ecommerce BBA HandoutHem Pokhrel
Software Agents leacture handouts for eCommerce students of Prime College BBA Stream. This presentation will provide you the short overview of the rapidly evolving area of software agents and their classification with their applications and significance.
How to be THIN and SKINNY - 5 Simple TipsHem Pokhrel
Prepared on special request of my co-workers and colleagues.. This is not only a presentation but also a collection of my day to day habits. Follow at your own risk. :D
Thanks !
Included
SLEPT FACTORS
Social and legal factors
Economic and competitive factors
Political factors
E-government
Technological innovation and technology assessment
E-commerce and globalization
SHORT TERMS RELATED TO ECOMMERCE
REFERENCES: E-Business and E-Commerce Management Strategy, Implementation and Practice by Dave Chaffey
This educational presentation is prepared for BBA 6th Semester students of Prime College, Nayabazar-KTM, Nepal.
Content Includes:
Introduction to internet marketing,
Difference between Internet Marketing (online) and offline Marketing,
Tools for online Marketing:
Search Engines, Social Media Marketing, Email Marketing,
Legal Issues with online marketing
Copying any using content other than for educational purpose is strictly prohibited.
COLOR THEORY | COLOR COMBINATION AND USAGESHem Pokhrel
In the visual arts, color theory or color theory is a body of practical guidance to color mixing and the visual effects of a specific color combination. There are also definitions (or categories) of colors based on the color wheel: primary color, secondary color and tertiary color.
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Mind IT Systems
Healthcare providers often struggle with the complexities of chronic conditions and remote patient monitoring, as each patient requires personalized care and ongoing monitoring. Off-the-shelf solutions may not meet these diverse needs, leading to inefficiencies and gaps in care. It’s here, custom healthcare software offers a tailored solution, ensuring improved care and effectiveness.
Mobile App Development Company In Noida | Drona InfotechDrona Infotech
Looking for a reliable mobile app development company in Noida? Look no further than Drona Infotech. We specialize in creating customized apps for your business needs.
Visit Us For : https://www.dronainfotech.com/mobile-application-development/
Essentials of Automations: The Art of Triggers and Actions in FMESafe Software
In this second installment of our Essentials of Automations webinar series, we’ll explore the landscape of triggers and actions, guiding you through the nuances of authoring and adapting workspaces for seamless automations. Gain an understanding of the full spectrum of triggers and actions available in FME, empowering you to enhance your workspaces for efficient automation.
We’ll kick things off by showcasing the most commonly used event-based triggers, introducing you to various automation workflows like manual triggers, schedules, directory watchers, and more. Plus, see how these elements play out in real scenarios.
Whether you’re tweaking your current setup or building from the ground up, this session will arm you with the tools and insights needed to transform your FME usage into a powerhouse of productivity. Join us to discover effective strategies that simplify complex processes, enhancing your productivity and transforming your data management practices with FME. Let’s turn complexity into clarity and make your workspaces work wonders!
Code reviews are vital for ensuring good code quality. They serve as one of our last lines of defense against bugs and subpar code reaching production.
Yet, they often turn into annoying tasks riddled with frustration, hostility, unclear feedback and lack of standards. How can we improve this crucial process?
In this session we will cover:
- The Art of Effective Code Reviews
- Streamlining the Review Process
- Elevating Reviews with Automated Tools
By the end of this presentation, you'll have the knowledge on how to organize and improve your code review proces
Utilocate offers a comprehensive solution for locate ticket management by automating and streamlining the entire process. By integrating with Geospatial Information Systems (GIS), it provides accurate mapping and visualization of utility locations, enhancing decision-making and reducing the risk of errors. The system's advanced data analytics tools help identify trends, predict potential issues, and optimize resource allocation, making the locate ticket management process smarter and more efficient. Additionally, automated ticket management ensures consistency and reduces human error, while real-time notifications keep all relevant personnel informed and ready to respond promptly.
The system's ability to streamline workflows and automate ticket routing significantly reduces the time taken to process each ticket, making the process faster and more efficient. Mobile access allows field technicians to update ticket information on the go, ensuring that the latest information is always available and accelerating the locate process. Overall, Utilocate not only enhances the efficiency and accuracy of locate ticket management but also improves safety by minimizing the risk of utility damage through precise and timely locates.
Quarkus Hidden and Forbidden ExtensionsMax Andersen
Quarkus has a vast extension ecosystem and is known for its subsonic and subatomic feature set. Some of these features are not as well known, and some extensions are less talked about, but that does not make them less interesting - quite the opposite.
Come join this talk to see some tips and tricks for using Quarkus and some of the lesser known features, extensions and development techniques.
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeAftab Hussain
Understanding variable roles in code has been found to be helpful by students
in learning programming -- could variable roles help deep neural models in
performing coding tasks? We do an exploratory study.
- These are slides of the talk given at InteNSE'23: The 1st International Workshop on Interpretability and Robustness in Neural Software Engineering, co-located with the 45th International Conference on Software Engineering, ICSE 2023, Melbourne Australia
Check out the webinar slides to learn more about how XfilesPro transforms Salesforce document management by leveraging its world-class applications. For more details, please connect with sales@xfilespro.com
If you want to watch the on-demand webinar, please click here: https://www.xfilespro.com/webinars/salesforce-document-management-2-0-smarter-faster-better/
Enterprise Resource Planning System includes various modules that reduce any business's workload. Additionally, it organizes the workflows, which drives towards enhancing productivity. Here are a detailed explanation of the ERP modules. Going through the points will help you understand how the software is changing the work dynamics.
To know more details here: https://blogs.nyggs.com/nyggs/enterprise-resource-planning-erp-system-modules/
E-commerce Application Development Company.pdfHornet Dynamics
Your business can reach new heights with our assistance as we design solutions that are specifically appropriate for your goals and vision. Our eCommerce application solutions can digitally coordinate all retail operations processes to meet the demands of the marketplace while maintaining business continuity.
Understanding Nidhi Software Pricing: A Quick Guide 🌟
Choosing the right software is vital for Nidhi companies to streamline operations. Our latest presentation covers Nidhi software pricing, key factors, costs, and negotiation tips.
📊 What You’ll Learn:
Key factors influencing Nidhi software price
Understanding the true cost beyond the initial price
Tips for negotiating the best deal
Affordable and customizable pricing options with Vector Nidhi Software
🔗 Learn more at: www.vectornidhisoftware.com/software-for-nidhi-company/
#NidhiSoftwarePrice #NidhiSoftware #VectorNidhi
GraphSummit Paris - The art of the possible with Graph TechnologyNeo4j
Sudhir Hasbe, Chief Product Officer, Neo4j
Join us as we explore breakthrough innovations enabled by interconnected data and AI. Discover firsthand how organizations use relationships in data to uncover contextual insights and solve our most pressing challenges – from optimizing supply chains, detecting fraud, and improving customer experiences to accelerating drug discoveries.
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...Juraj Vysvader
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I didn't get rich from it but it did have 63K downloads (powered possible tens of thousands of websites).
Navigating the Metaverse: A Journey into Virtual Evolution"Donna Lenk
Join us for an exploration of the Metaverse's evolution, where innovation meets imagination. Discover new dimensions of virtual events, engage with thought-provoking discussions, and witness the transformative power of digital realms."
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Globus
The Earth System Grid Federation (ESGF) is a global network of data servers that archives and distributes the planet’s largest collection of Earth system model output for thousands of climate and environmental scientists worldwide. Many of these petabyte-scale data archives are located in proximity to large high-performance computing (HPC) or cloud computing resources, but the primary workflow for data users consists of transferring data, and applying computations on a different system. As a part of the ESGF 2.0 US project (funded by the United States Department of Energy Office of Science), we developed pre-defined data workflows, which can be run on-demand, capable of applying many data reduction and data analysis to the large ESGF data archives, transferring only the resultant analysis (ex. visualizations, smaller data files). In this talk, we will showcase a few of these workflows, highlighting how Globus Flows can be used for petabyte-scale climate analysis.
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisGlobus
JASMIN is the UK’s high-performance data analysis platform for environmental science, operated by STFC on behalf of the UK Natural Environment Research Council (NERC). In addition to its role in hosting the CEDA Archive (NERC’s long-term repository for climate, atmospheric science & Earth observation data in the UK), JASMIN provides a collaborative platform to a community of around 2,000 scientists in the UK and beyond, providing nearly 400 environmental science projects with working space, compute resources and tools to facilitate their work. High-performance data transfer into and out of JASMIN has always been a key feature, with many scientists bringing model outputs from supercomputers elsewhere in the UK, to analyse against observational or other model data in the CEDA Archive. A growing number of JASMIN users are now realising the benefits of using the Globus service to provide reliable and efficient data movement and other tasks in this and other contexts. Further use cases involve long-distance (intercontinental) transfers to and from JASMIN, and collecting results from a mobile atmospheric radar system, pushing data to JASMIN via a lightweight Globus deployment. We provide details of how Globus fits into our current infrastructure, our experience of the recent migration to GCSv5.4, and of our interest in developing use of the wider ecosystem of Globus services for the benefit of our user community.
Do you want Software for your Business? Visit Deuglo
Deuglo has top Software Developers in India. They are experts in software development and help design and create custom Software solutions.
Deuglo follows seven steps methods for delivering their services to their customers. They called it the Software development life cycle process (SDLC).
Requirement — Collecting the Requirements is the first Phase in the SSLC process.
Feasibility Study — after completing the requirement process they move to the design phase.
Design — in this phase, they start designing the software.
Coding — when designing is completed, the developers start coding for the software.
Testing — in this phase when the coding of the software is done the testing team will start testing.
Installation — after completion of testing, the application opens to the live server and launches!
Maintenance — after completing the software development, customers start using the software.
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Łukasz Chruściel
No one wants their application to drag like a car stuck in the slow lane! Yet it’s all too common to encounter bumpy, pothole-filled solutions that slow the speed of any application. Symfony apps are not an exception.
In this talk, I will take you for a spin around the performance racetrack. We’ll explore common pitfalls - those hidden potholes on your application that can cause unexpected slowdowns. Learn how to spot these performance bumps early, and more importantly, how to navigate around them to keep your application running at top speed.
We will focus in particular on tuning your engine at the application level, making the right adjustments to ensure that your system responds like a well-oiled, high-performance race car.
3. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
3PrestaShop Introduction
▪ PrestaShop is a free, open source e-commerce
content management solution.
▪ Used by more than 250,000 e-commerce shops
worldwide
▪ Available in 60 different languages.
▪ Current version 1.7.x
4. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
4
PrestaShop 1.7
Improve the UX in the back-office
5. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
5
PrestaShop 1.7
Stay up to date!
Check regularly
http://build.prestashop.com/
6. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
29/05/2015
PrestaShop Modules
Introduction
7. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
7
PrestaShop Modules
▪ Small programs that make use of PrestaShop's functionality and changes
them or add to them in order to make PrestaShop easier to use or more
customized.
▪ Consists of a main PHP file other PHP supporting files as needed, and all
the necessary contents including images, JavaScript and template (.tpl)
files necessary to display the information.
▪ PrestaShop's modules are found in the /modules folder, which is at the
root of the PrestaShop main folder.
▪ Modules can also be part of a theme if they are really specific to it. In
that case, they would be in the theme's own /modules folder, and
therefore under the following path: /themes/[my-theme]/modules
8. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
8
PrestaShop File Structure
▪ Small programs that make use of PrestaShop's functionality and changes them or
add to them in order to make PrestaShop easier to use or more customized.
▪ Consists of a main PHP file other PHP supporting files as needed, and all the
necessary contents including images, JavaScript and template (.tpl) files
necessary to display the information.
▪ Let's see an example with PrestaShop's blockuserinfo module:
9. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
9
PrestaShop Modules
▪ Let's see an example with PrestaShop's blocktopmenu module:
10. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
10
PrestaShop Modules: files and folders organization for a PrestaShop 1.6 module
▪ Small programs that make use of PrestaShop's functionality and changes them or
add to them in order to make PrestaShop easier to use or more customized.
▪ Consists of a main PHP file other PHP supporting files as needed, and all the
necessary contents including images, JavaScript and template (.tpl) files
necessary to display the information.
▪ PrestaShop's modules are found in the /modules folder, which is at the root of
the PrestaShop main folder.
▪ Modules can also be part of a theme if they are really specific to it. In that case,
they would be in the theme's own /modules folder, and therefore under the
following path: /themes/[my-theme]/modules
11. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
11
Module Development
▪ Let's create a simple first module; this will enable us to better describe its
structure. We will name it "My module".
▪ First, create the module's folder, in the /modules folder. It should have the same
name as the module, with no space, only alphanumerical characters, the hyphen
and the underscore, all in lowercase: /mymodule.
▪ This folder must contain the main file, a PHP file of the same name as the folder,
which will handle most of the processing: mymodule.php.
That is enough for a very basic module, but obviously more files and folders can be
added later.
12. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
12
Module Development
▪ The main mymodule.php file must start with the following test:
<?php
if (!defined('_PS_VERSION_')) {
exit;
}
▪ Next task is to create our main class extending Module parent class
13. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
13
Module Development: The main class
▪ The main file must contain the module's main class (along with other classes if
needed). PrestaShop uses Object-Oriented programming, and so do its modules.
▪ That class must bear the same name as the module and its folder, in CamelCase
(see http://en.wikipedia.org/wiki/CamelCase).
In our example: MyModule.
▪ Furthermore, that class must extend the Module class, in order to inherit all its
methods and attributes.
class MyModule extends Module
{
…………………
…………………………………
………………………………..
}
14. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
14
Module Development: Adding constructor method to the main class
▪ Now, let's fill the class' code block with the essential constructor lines.
▪ A constructor is a function in a class that is automatically called when you create
a new instance of a class with new.
▪ In the case of a PrestaShop, the constructor class is the first method to be called
when the module is loaded by PrestaShop.
▪ This is therefore the best place to set most of its details.
class MyModule extends Module
{
public function __construct()
{
Statements here;
}
}
15. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
15
Module Development: Adding constructor method to the main class
▪ The __constructor() method
public function __construct()
{
$this->name = 'mymodule';
$this->tab = 'front_office_features';
$this->version = '1.0.0';
$this->author = 'Firstname Lastname';
$this->need_instance = 0;
$this->ps_versions_compliancy = array('min' => '1.6', 'max' => _PS_VERSION_);
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('My module');
$this->description = $this->l('Description of my module.');
$this->confirmUninstall = $this->l('Are you sure you want to uninstall?');
if (!Configuration::get('MYMODULE_NAME')) {
$this->warning = $this->l('No name provided');
}
}
16. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
16
Module Development: Adding constructor method to the main class
▪ Here tabs attribute is the title for the section that shall contain this
module in PrestaShop's back office modules list.
▪ It’s value may be one from below or you’re free to add your own tab as
well.
17. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
17
Module Development: Adding install and uninstall methods in main class
▪ Your module might need to perform actions on installation, such as
checking PrestaShop's settings or to registering its own settings in the
database.
▪ Likewise, if you changed things in the database on installation, it is highly
recommended to change them back (or remove them) when uninstalling
the module.
▪ The install() and uninstall() methods make it possible to control what
happens when the store administrator installs or uninstalls the module.
▪ They must be included in the main class' block of code (in our example,
the MyModule class) – at the same level as the constructor method.
public function install()
{
if (!parent::install()) {
return false;
}
return true;
}
18. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
18
Module Development: Adding install and uninstall methods in main class
▪ Your module might need to perform actions on uninstallation as
well, that would delete the data added to the database during the
installation
If any of the lines in the testing block fails, the method returns false and the installation does not happen.
public function uninstall()
{
if (!parent::uninstall() ||
!Configuration::deleteByName('MYMODULE_NAME')
) {
return false;
}
return true;
}
19. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
19
Module Development: Adding install and uninstall methods in main class
▪ Your module might need to perform actions on installation, such as
checking PrestaShop's settings or to registering its own settings in the
database.
public function install()
{
if (Shop::isFeatureActive()) {
Shop::setContext(Shop::CONTEXT_ALL);
}
if (!parent::install() ||
!$this->registerHook('leftColumn') ||
!$this->registerHook('header') ||
!Configuration::updateValue('MYMODULE_NAME', 'my friend')
) {
return false;
}
return true;
}
If any of the lines in the testing block fails, the method returns false and the installation does not happen.
20. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
20
Module Development: Display Content in the front office
▪ Need to take care of hooks at the time of install() method definition
To know more about hooks in PS 1.6 or 1.7, http://doc.prestashop.com/display/PS17/Hooks+in+PrestaShop+1.7.x
public function install()
{
if (Shop::isFeatureActive())
Shop::setContext(Shop::CONTEXT_ALL);
return parent::install() &&
$this->registerHook('leftColumn') &&
$this->registerHook('header') &&
Configuration::updateValue('MYMODULE_NAME', 'my
friend');
}
21. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
21
Module Development: Display Content in the front office
▪ Need to take care of hooks at the time of installmethod() definition
▪ Attaching code to a hook requires a specific method for each:
hookDisplayLeftColumn(): will hook code into the left column – in our case, it will fetch the MYMODULE_NAME module setting
and display the module's template file, mymodule.tpl, which must be located in the /views/templates/hook/ folder.
hookDisplayRightColumn(): will simply do the same as hookDisplayLeftColumn(), but for the right column.
hookDisplayHeader(): will add a link to the module's CSS file, /css/mymodule.css
public function hookDisplayLeftColumn($params)
{
$this->context->smarty->assign(
array(
'my_module_name' => Configuration::get('MYMODULE_NAME'),
'my_module_link' => $this->context->link->getModuleLink('mymodule', 'display')
)
);
return $this->display(__FILE__, 'mymodule.tpl');
}
public function hookDisplayRightColumn($params)
{
return $this->hookDisplayLeftColumn($params);
}
public function hookDisplayHeader()
{
$this->context->controller->addCSS($this->_path.'css/mymodule.css', 'all');
}
22. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
22
Module Development: Display Content in the front office
▪ Now that we have access to the left column, we should display
something there for the customer to see.
▪ The visible part of the module is defined in .tpl files placed in specific
View folders:
/views/templates/front/: front office features.
/views/templates/admin/: back office features.
/views/templates/hook/: features hooked to a PrestaShop (so can be
displayed either on the front office or the back office).
23. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
23
Module Development: Display Content in the front office
<!-- Block mymodule -->
<div id="mymodule_block_home" class="block">
<h4>Welcome!</h4>
<div class="block_content">
<p>Hello,
{if isset($my_module_name) && $my_module_name}
{$my_module_name}
{else}
World
{/if}
!
</p>
<ul>
<li><a href="{$my_module_link}" title="Click this link">Click me!</a></li>
</ul>
</div>
</div>
<!-- /Block mymodule -->
Here is our template file, located at /views/templates/hook/mymodule.tpl:
24. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
24
Module Development: Display Content in the front office
In addition to that, we’ll to create a CSS file, and save it as /css/mymodule.css in the module's folder (or any sub-folder you like
to keep you CSS in):
div#mymodule_block_home
p {
font-size: 150%;
font-style:italic;
}
25. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
25
Module Development: Display Content in the front office
Add display.php to register our template to current theme
File should be in /views/templates/ directory as mentioned earlier
<?php
class mymoduledisplayModuleFrontController extends ModuleFrontController
{
public function initContent()
{
parent::initContent();
$this->setTemplate('display.tpl');
}
}
For this we need to create display.tpl file that we passed as parameter above. Show some message such as ‘Welcome to my module’
there.
27. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
29/05/2015
ABOUT
PRESTASHOP AMBASSADORS
PROGRAM
28. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
28
Rewarding our Best Community Members
Building a network of volunteer Ambassadors to initiate activities that drive
local awareness and educate our Community about ecommerce, throughout
the World.
http://ambassadors.prestashop.com
PrestaShop Ambassador Program
29. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
29
As of Today
Ambassadors are
worldwide
Germany, Senegal, Nigeria, Italy, Colombia,
Argentina, Peru, Brazil, Canada, Australia,
Nepal, India, Bangladesh….
30. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
30
Community Worldwide
Madrid
Buenos Aires
Gijon
Malaga
Montréal
NepalParis Dakar
Düsseldo
31. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
31Join Us
PRESTASHOP FORUM
Head to our forum for general help, ecommerce tips and best practices.
It’s the perfect place to find answers and get the most from your online store.
https://www.prestashop.com/forums/
TRANSLATE PRESTASHOP IN NEPALI LANGUAGE
Submit and vote for translations on PrestaShop's CrowdIn page to help the community sell across
the world.
https://crowdin.com/project/prestashop-official/ne-NP
MEETUP GROUP
Find people with similar interests and attend our future meetups
https://www.meetup.com/PrestaShop-Kathmandu-Ecommerce-Meetup/
32. WeCommerce is bettereCommerce. The world’s #1 free eCommerce platform. prestashop.com
32Keep in touch with PrestaShop
Facebook: https://www.facebook.com/prestashop
Twitter: https://twitter.com/PrestaShop
YouTube: https://www.youtube.com/prestashop
Instagram: https://www.instagram.com/prestashop/
Pinterest: https://www.pinterest.com/prestashop/
LinkedIn: https://www.linkedin.com/company/prestashop/
Reddit: https://www.reddit.com/r/prestashop/
GitHub: https://github.com/PrestaShop/PrestaShop