Creating a custom HTML module in Joomla 3 is relatively simple. The first step is to create a new directory within your Joomla installation and name it “html”. Within this directory, create a new file called “Module.
php”. This file will contain the logic for your custom HTML module.
Next, you will need to create a class to house your custom HTML module’s logic. To do this, create a new file called “ModuleClass.
php” and place it within the “html” directory. Within this file, you will need to define the following properties:.
name – This property will be used to identify the custom HTML module within Joomla.
– This property will be used to identify the custom HTML module within Joomla. parent – This property will be used to identify the root module of the custom HTML module.
– This property will be used to identify the root module of the custom HTML module. description – This property will be used to provide a brief description of the custom HTML module.
– This property will be used to provide a brief description of the custom HTML module. author – This property will be used to identify the author of the custom HTML module.
– This property will be used to identify the author of the custom HTML module. license – This property will be used to identify the license of the custom HTML module.
Next, you will need to create a file called “Template.php” and place it within the “html” directory.
This file will contain the template code for the custom HTML module.
name – This property will be used to identify the template file within Joomla.
– This property will be used to identify the template file within Joomla. template – This property will be used to identify the template file that will be used by the custom HTML module.
– This property will be used to identify the template file that will be used by the custom HTML module. source – This property will be used to identify the source file that will be used by the custom HTML module.
– This property will be used to identify the source file that will be used by the custom HTML module. folder – This property will be used to identify the folder within Joomla that will contain the custom HTML module.
Finally, you will need to create a file called “Joomla.
This file will contain the PHP code that will be used to load the custom HTML module.
name – This property will be used to identify the Joomla module within Joomla.
– This property will be used to identify the Joomla module within Joomla. controller – This property will be used to identify the controller that will be used to load the custom HTML module.
– This property will be used to identify the controller that will be used to load the custom HTML module. action – This property will be used to identify the action that will be used to load the custom HTML module.
– This property will be used to identify the action that will be used to load the custom HTML module. path – This property will be used to identify the path within Joomla that will be used to load the custom HTML module.
Finally, you will need to create a file called “Joomla3.
This file will contain the PHP code that will be used to load the custom HTML module within Joomla 3.
name – This property will be used to identify the Joomla 3 module within Joomla.
– This property will be used to identify the Joomla 3 module within Joomla. module – This property will be used to identify the Joomla 3 module that will be used to load the custom HTML module.
– This property will be used to identify the Joomla 3 module that will be used to load the custom HTML module. require – This property will be used to identify the require module that will be used to load the custom HTML module.
– This property will be used to identify the require module that will be used to load the custom HTML module. auto_reload – This property will be used to automatically reload the custom HTML module when changes are made to the source file.
– This property will be used to automatically reload the custom HTML module when changes are made to the source file. refresh – This property will be used to refresh the custom HTML module when changes are made to the source file.
– This property will be used to refresh the custom HTML.