Modules Videos
Creating a Site Module for Joomla 3.x - Part 1
In this episode we discuss the bare minimum required to write a Site module for Joomla 3.x. It discusses when and how a module is run, the folder layout for modules and installing and viewing your module on the front end.
Creating a Site Module for Joomla 3.x - Part 2
In this episode I cover some items that were left out from the basic minimalist Joomla module. I talk about the adding the meta-data to the manifest file that will allow Joomla to display some additional information to the site administrator about the module and provide information about the author, email, license and copyright of your work. Additionally, I talk about two security issues that prevent a user on the Internet from listing files on your server and executing your module outside the Joomla environment.
Creating a Site Module for Joomla 3.x - Part 3
In this episode we create a new module in earnest while using our first module as a tool to speed up the process of creating a module. I discuss internationalization with language strings and layouts. You can download the source code for this episode by going to this episode's page.
Creating a Site Module for Joomla 3.x - Part 4
In this episode I create the database table using phpMyAdmin and LibreOffice Calc in order to generate the SQL that Joomla will need to install and populate the table for the Random Quote module to use. I also cover the changes that need to be made to the SQL file as it comes from an export from phpMyAdmin so that Joomla can use it. Finally, I cover the additions to the modules manifest file that are needed to copy the new code over and to get Joomla to both install the table and data to the database and if the user elects to uninstall the module, to run the code to remove the table and it's data that we added. You can get source code and other stuff for this series by visiting my website. The source code for this specific episode can be found by going to this episodes page.
Creating a Site Module for Joomla 3.x - Part 5
In this episode we talk a little about MVC (Model, View, Controller) pattern and how the concept applies to a Joomla Module. I implement the helper class and talk about using the database with Joomla. The code is written to randomly grab a quote from the database and it is displayed to the front end user. Source code for this episode and the PDF can be downloaded by going to http://myheap.com/electronics/exploring-joomla-3-x/writing-modules-for-joomla-3-x/creating-a-site-module-part-5.html. The source code for this episode can be downloaded from this episode's page.
Creating a Site Module for Joomla 3.x - Part 6
In this Episode I cover how to add parameters to a Joomla Module. I discuss where they are stored in the Joomla database, accessing them programmatically, uses of parameters, Joomla fields that are available and more. To get the source code for this tutorial or a downloadable PDF of this tutorial, please visit my website by going to ths link.