O'Reilly logo

Joomla! 1.5 Templates Cookbook by Richard Carter

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

Understanding the templateDetails.xml file

The templateDetails.xml is vital for your Joomla! template to function correctly. It defines the metadata of your template. There are three fundamental things that this file tells Joomla!:

  • Information about the author of the template (that's you!)
  • The files that are used within the template
  • The positions that Joomla! uses to position content within the template

The templateDetails.xml file can also provide information about a theme's color variations and other parameters.

Getting ready

If your template does not already have one, create a templateDetails.xml file in your template's directory. For example, if your template was called ch2-test, this would be in the templates\ch2-test directory.

How to do it... ...

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