J3.x

J3.x:Смяна на шаблона

From Joomla! Documentation

This page is a translated version of the page J3.x:Switching templates and the translation is 4% complete.
Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎hrvatski • ‎български • ‎中文(台灣)‎

To change the default Template for the Site (frontend) or Administrator (backend), follow these steps:

Access the template manager

  • Click on: Extensions  Templates

Extension-manager-template-manager-3x-en.png

You will now see the Template Manager screen.

Note: If you do not see Templates listed as an option on the Extensions menu, then it is most likely because you are not logged in as a Super Administrator. Only Super Administrators will see this menu item.

Managing default template

From here you manage your templates for frontend and backend. The default view shows your installed frontend templates styles. The default style for the frontend is marked with a star; in the image below it is 'protostar - Default'.

To change the default style to 'beez3':

  • click the checkbox left from the style name to select it;
  • click "Default" on the toolbar;

the star changes from 'protostar' to 'beez3' and you are done. Alternatively, you can click on the shadow of a template's default star to quickly set the template as default.

You can use the filter drop-downs on the top or the filter search to limit the number of templates shown in the list of templates. Other options are:

  • edit - edit the options and Menu Assignment a template is shown on (see below)
  • duplicate - duplicate the style of the template
  • delete - delete a template style (must not be default template style)
30-Switching-templates-1-en.png

Assigning more than one template style for the frontend

Joomla gives you the option of switching between two or more styles on the frontend. This is done with "Menu Assignment", so you can set different styles for each menu or only a menu item. This allows specific "pages" that are defined by menu links to set for a "specific" style. Styles can be of different templates.

Template manager method

Click on: Extensions  Template Manager

  • You will see your installed template styles, now choose a style which is not set as your default one. Yellow star indicates the style is a default.
30-Template-manager-select-edit-en.png
  • Click on the style name or hit the checkbox to the left of the style name, and click "Edit" on the toolbar.
  • You now see the page "Template: [Edit style]", and go to the section "Menu Assignment" block and choose the menu items on which the style should be shown.
30-Switching-templates-assign-menus-en.png
  • Click "Save" on the toolbar and you´re done. The menu item will now show the selected template.
  • Go to the frontend of your website and refresh the page to view the modifications.

Menu manager method

  • Access menu item Menus  [Menu Name]
  • Choose a menu item by checking the box to the left of its name and then click on the Edit toolbar button. Alternatively, simply click the name of the menu item to edit it.
  • On the Edit Menu Item screen, in Template Style, choose the desired template style and click on the Save button.
30-Menu-item-template-management-edit-en.png
  • Go to the frontend of your website and refresh the page to view the modifications.

See also

Template style