J3.x

How to use the Template Manager/it

From Joomla! Documentation

This page is a translated version of the page J3.x:How to use the Template Manager and the translation is 8% complete.
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎hrvatski • ‎italiano • ‎русский

In the updated Joomla 3.2 Template Manager: Customise Template you can edit files, create files and folders and even create overrides directly inside your admin area. Overrides created in this edit screen are Template overrides and not to be confused with Layout Overrides !!!

Template overrides override the core 'layout views' of Components, Modules and the files of /layout/joomla/.

Layout overrides create new layout views for Components and Modules. And can be selected (in Admin menus and options) as alternative layout views instead of the core Component and Module layout views. For Layout Overrides please see Layout Overrides in Joomla

J3.x:Editing a template with Template Manager/it

Customise a Template

Click any file and you'll be able to edit it directly in the browser.

3x-template-manager-customise-template-file-edit-en.png

Using the Template Manager Toolbar

When you're inside the Template Manager, you'll see a toolbar like the one below:

File:3x-template-manager-customise-template-toolbar-it.png

  • Click the "Copy Template" button and you'll get a complete copy of your existing template.

Creating a copy like this could be very useful for testing purposes. It used to be much more difficult.

File:3x-template-manager-customise-template-popup-copy-it.png

  • Click the "Template Preview" button and you'll immediately see a frontend preview of your template with the module positions marked:

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

  • Click the "Manage Folders" button and you'll be able to create new folders inside your template.

3x-template-manager-customise-template-manage-folders-en.png

  • Click the "New File" button and you'll be able to create a new file or upload one from your desktop.

3x-template-manager-customise-template-create-upload-file-en.png

  • When you create a file, Joomla will offer you a variety of the most popular formats:

3x-template-manager-customise-template-create-upload-file-types-en.png

Creating Overrides

One of useful features of the new Template Manager is how easy it makes overrides.

Previously it was almost impossible to get a clean overview of what override possibilities were available on a Joomla site.

  • Click the "Create Overrides" tab and the new Template Manager presents all of the possibilities in one neat list:

3x-template-manager-customise-template-create-overrides-en.png

  • Click on a component and you'll get all the possibilities inside that one component. In this example, I clicked on com_content:

3x-template-manager-customise-template-create-overrides-component-en.png

  • Click on one of the possibilities, for example "article", and you'll see this message:

3x-template-manager-customise-template-create-overrides-message-en.png

  • Go back to the Editor screen and your override files will be available for editing:

3x-template-manager-customise-template-create-overrides-file-list-en.png

A Google Summer of Code Success

This new Template Manager was a Google Summer of Code 2013 project.

The coder was Ram Tripathi, a student from Delhi. He formed a very successful partnership with his mentor Ken Crowder, a long-time Joomla developer. Congrats to both of them and to all of this year's Google Summer of Code team.