J1.5

Introduction to template parameters

From Joomla! Documentation

Revision as of 15:14, 16 August 2008 by Chris Davenport (talk | contribs) (New page: To see an example of template parameters in action, go into '''Extensions → Template Manager''' and click on the ''rhuk_milkyway'' template. You will see, on the '''Template: [Edit]''' ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The "J1.5" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

To see an example of template parameters in action, go into Extensions → Template Manager and click on the rhuk_milkyway template. You will see, on the Template: [Edit] screen that there is a Parameters group containing a couple of fields called Colour Variation and Background Variation. See illustration below. These are typical template parameters and in this case they control the colour scheme of the template.

Template-parameters.png

Template parameters allow the administrator to adjust the behaviour of a template using a form in the Administrator. What parameters are available and what they do is down to the template designer, but designers now have a set of easy-to-use tools for building flexibility into their templates. For the designer, this involves making changes to three elements: