O'Reilly logo

Joomla!® Templates by Angie Radtke

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

10. The index.php: The Heart of the Matter

Throughout the last few chapters I have repeatedly mentioned that the index.php file is the central control file of a Joomla! template. It takes on the task of setting patterns for the content created by the system and is the first template file used by the system.

The index.php file integrates the actual content, controls which modules are positioned where and when, combines the CSS files, and gives the template its unique look. It has the file extension .php, but it actually contains a mixture of HTML elements and PHP code. The HTML is responsible for the general page structure. The PHP integrates dynamic content.

Every Web designer who knows HTML will quickly be able to see the structure of a page ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required