Actions

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

From Joomla! Documentation

 
(6 intermediate revisions by 3 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.
+
{{notice|This answer is transcluded from [[J{{CurrentSTSVer|minor}}:Switching templates#Assigning more than one template for the Front-end|Switching templates]]}}
 +
{{#lsth:J{{CurrentSTSVer|minor}}:Switching templates|Assigning more than one template for the Front-end}}
  
To assign a template to a page, you must first make sure that there is a direct menu link to the page.
+
==Notes==
 +
*You cannot assign the default style to individual pages.
  
* Go to [[Extension]]s>>[[Template Manager]]
+
;*Understanding how assignments work
* Select the Template and click the edit icon (or click the template name)
+
* In the left column, change "None" to "Select from List."
+
* Select the links you want to apply the template to.
+
* Save
+
  
Note that you cannot assign the default template to individual pages.
+
: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.
  
'''Understanding'''
+
;*Assigning templates/styles according to other criteria
  
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.
+
:3rd party extensions allow you assign templates according to other critera. See the [http://extensions.joomla.org/extensions/style-a-design/templating Templating] section of the Joomla Extensions Directory.
  
[[Category:FAQ]]
+
<noinclude>
[[Category:Administration FAQ]]
+
 
[[Category:Getting Started FAQ]]
 
[[Category:Getting Started FAQ]]
[[Category:Version 1.5 FAQ]]
+
[[Category:Template FAQ]]
[[Category:Template Management]]
+
[[Category:Template Management]]</noinclude>

Latest revision as of 15:18, 21 June 2013

Info non-talk.png
General Information

This answer is transcluded from 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.