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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.