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 2 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 patTemplate Tags arrow Link Tag

Link Tag PDF Print E-mail
<patTemplate:link src="help" />

This tag is always empty and contains no html code. It can be used to display parts of your HTML code at mutiple positions in your generated page. You can use it to define the layout of a horizontal divider once and use it often in your page. When the layout needs to be changed, you just have to change it once. It is like the include statement in PHP.

Attributes

src (required)

The name (or source) of the template you want to link to. The template may also be in a different file, as long as you parsed this file, too.

Example:

<patTemplate:tmpl name="page">
Here is some help <patTemplate:link src="help">
</patTemplate:tmpl>
 
<!-- A HELP LINK -->
<patTemplate:tmpl name="help">
  <a href="help.html">
    <patTemplate:Translate>Help</patTemplate:Translate>
  </a>
</patTemplate:tmpl>
Last Updated ( Friday, 01 April 2005 )
 
< Prev   Next >