Creating the component installation XML file
Just like modules and plugins, components have an installation XML file (also known as an XML manifest) that will tell Joomla! all about the component you are installing. The installation XML file contains details such as the version number, all the files and folders used by the component, database installation file details, and component parameters.
This time we are going to create the files directly on your development website rather than in a folder on your desktop. Create a folder, /administrator/components/com_folio
, and in this folder create the usual index.html
file.
<!DOCTYPE html><title></title>
After that, create a new XML file called folio.xml
. This is the extension name without the com_
prefix. ...
Get Learning Joomla! 3 Extension Development - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.