Book Image

OpenCart Theme and Module Development

By : Rupak Nepali
Book Image

OpenCart Theme and Module Development

By: Rupak Nepali

Overview of this book

Table of Contents (13 chapters)
OpenCart Theme and Module Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Installing, configuring, and uninstalling a module


There are many default modules in OpenCart. How are modules installed? Which are the database tables that hold the settings for a module? These are really questions for developers, and they will help them understand the structure and workings of modules.

Installing a module

Follow these instructions to install modules:

  1. Go to Administrator | Extensions | Modules. There you will find a list of modules. Just click on the green (install) button and the module will be installed.

  2. When you click on the green (install) button, the extension/module controller's install function is called. Now open admin/controller/extension/module.php. You will see the public function install(), which performs the permission check. If you get a Permission Denied! message, as shown in the following screenshot, then refer to the next step:

  3. You have to provide access permission by going to Administrator | User | User Group. Then edit the user group name (in the following...