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 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.