5. PHP and Joomla!

Don’t worry—you do not need to be a PHP: Hypertext Preprocessor expert to create templates for Joomla!. But a bit of basic knowledge will make it easier and give you considerably more creative range. PHP is a scripting language used mainly for creating dynamic Web sites or Web applications. PHP is involved in various stages of creating a template, such as in the index.php file, the control file of the template, and in the template overrides. I discuss these cases in more detail later. First, let’s have a brief look at PHP.

PHP is integrated on the server side. The latest version of Joomla! requires at least version 5.2.4 of PHP. You can mix PHP and HTML in a file to create the desired output, which is the usual approach with ...

Get Joomla!® Templates now with O’Reilly online learning.

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