Actions

Difference between revisions of "How do you assign a template to a specific page?"

From Joomla! Documentation

(Marked this version for translation)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
In Joomla! there is a default template, but you can assign other templates to specific "pages" that are defined by menu links.
+
<noinclude><languages /></noinclude>
  
To assign a template to a page, you must first make sure that there is a direct menu link to the page.
+
{{notice|<translate><!--T:1-->
 +
This answer is transcluded from</translate> <translate><!--T:10-->
 +
[[S:MyLanguage/J{{CurrentSTSVer|minor}}:Switching templates#Assigning more than one template for the Front-end|Switching templates]]</translate>}}
 +
{{#lsth:J{{CurrentSTSVer|minor}}:Switching templates|Assigning more than one template for the Front-end}}
  
* Go to [[Extension]]s>>[[Template Manager]]
+
<translate>==Notes== <!--T:3--></translate>
* Select the Template and click the edit icon (or click the template name)
+
*<translate><!--T:4-->
* In the left column, change "None" to "Select from List."
+
You cannot assign the default style to individual pages.</translate>
* Select the links you want to apply the template to.
+
* Save
+
  
Note that you cannot assign the default template to individual pages.
+
;*<translate><!--T:5-->
 +
Understanding how assignments work</translate>
  
'''Understanding'''
+
:<translate><!--T:6-->
 +
The templating system uses the ItemID to determine which template/style to show. ItemIDs are created when you create a menu link. This is why only menu items are shown in the list of pages to which you can assign templates/styles.</translate>
  
The templating system uses the [[ItemID]] to determine which template to show. ItemIDs are created when you create a menu link. This is why only menu items are shown in the list of pages to which you can assign templates.
+
;*<translate><!--T:7-->
 +
Assigning templates/styles according to other criteria</translate>
  
[[Category:FAQ]]
+
:<translate><!--T:8-->
[[Category:Administration FAQ]]
+
3rd party extensions allow you assign templates according to other critera. See the [http://extensions.joomla.org/category/style-a-design/templating Templating] section of the Joomla Extensions Directory.</translate>
 +
 
 +
<noinclude>
 +
<translate>
 +
<!--T:9-->
 
[[Category:Getting Started FAQ]]
 
[[Category:Getting Started FAQ]]
[[Category:Version 1.5 FAQ]]
+
[[Category:Template FAQ]]
 
[[Category:Template Management]]
 
[[Category:Template Management]]
 +
</translate>
 +
</noinclude>

Latest revision as of 07:49, 21 December 2014

Other languages:
català • ‎English • ‎español • ‎français • ‎Nederlands • ‎русский
Info non-talk.png
General Information

This answer is transcluded from Switching templates

J3.4:Switching templates

Notes

  • You cannot assign the default style to individual pages.
  • Understanding how assignments work
The templating system uses the ItemID to determine which template/style to show. ItemIDs are created when you create a menu link. This is why only menu items are shown in the list of pages to which you can assign templates/styles.
  • Assigning templates/styles according to other criteria
3rd party extensions allow you assign templates according to other critera. See the Templating section of the Joomla Extensions Directory.