1.5 Template Project

The Joomla! Documentation Working Group is running a project to develop detailed reference and tutorial material on Joomla! 1.5 templates.  There is a project page on the documentation wiki where you can see the work in progress and help us by contributing your knowledge.

Who's Online

We have 6 guests online

Help Site License

The Joomla! Help Site content is copyright © 2005 - 2008 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution NonCommercial ShareAlike 2.5. Some parts of this website may be subject to other licenses.
Home arrow Developer Manual arrow 7. Packaging Custom Work arrow Template Setup File

PDF Print E-mail

Packaging Custom Work ::  The Template Setup File

The XML for a Template installation could look like this:

<?xml version="1.0" encoding="iso-8859-1"?>
<mosinstall type="template" version="1.0">
    <name>My Joomla! template</name>
    <copyright>(C) 2005 Open Source Matters. All rights reserved.</copyright>
    <license>http://www.gnu.org/copyleft/gpl.html GNU/GPL</license>
    <description>This is a brief description of the template</description>
Files are copied to /templates/[template_name]/ including any relative path except for those files in the <media> element. Files under <media> will be installed in the /images/stories directory.

For Administrator Templates you must include a "client" attribute in the element, for example:
<mosinstall type="template" client="administrator">

Please report any errors on this page to the Developer Documentation Forum.
Last Updated ( Saturday, 10 February 2007 )
< Prev   Next >