Documentation Menu

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 4 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 patTemplate arrow Developer Reference arrow Dot Syntax

Dot Syntax PDF Print E-mail

If you are referencing a variable (as conditionvar or in a copyFrom attrribute) you may always reference to a variable of any other templates by using the Dot-Syntax.

Example:

<patTemplate:tmpl name="source">
This template is a dummy template...<br>
<patTemplate:tmpl name="cond" type="condition" conditionvar="source.foo">
    <patTemplate:sub condition="bar">
        Bar has been supplied!<br />
    </patTemplate:sub>
    <patTemplate:sub condition="argh">
        The argh was here!<br />
    </patTemplate:sub>
    <patTemplate:sub condition="__default">
        unknown<br />
    </patTemplate:sub></p><p></patTemplate:tmpl></p><p></patTemplate:tmpl>

Last Updated ( Saturday, 09 July 2005 )
 
Next >