Help4.x

Templates : Personnaliser

From Joomla! Documentation

This page is a translated version of the page Help4.x:Templates: Customise and the translation is 10% complete.
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français

Description

This is where you edit a template's source code. You can edit the template's master files and stylesheets from this screen.

Comment y accéder ?

  • Select System  Templates Panel  Site Templates from the Administrator menu. Or...
  • Select System  Templates Panel  Administrator Templates from the Administrator menu. Then...
    • Select a template name from the Templates column.

Capture d'écran

The Administrator and Site Templates screens use the same layout. The Site Template screen is illustrated here.

[[Image:Help-4x-Extensions-Template-Manager-Templates-Edit-screen-

en

.png|800px]]

Form Fields

{{Chunk4x:Help screen form fields TemplatesEditSource/

en

}}

Toolbar

Note that the Toolbar buttons change when a file is selected for editing.

No file selected

{{safesubst:Chunk4x:Help_screen_toolbar_top_descriptor/

en

}}

  • Create Child Template. Select to make a complete a new child template. You will be prompted for a new child template name. There is also an opportunity to Close without creating a new child template. To remove the new child template: select the Close button, select the Styles button in the Templates list Toolbar, check the template check box for the new child template and select Delete in the toolbar.
  • Template Preview. Select to open the Site default view using this template.
  • Manage Folders. Select to create a new folder within the template hierarchy. A popup window appears:
[[Image:Help-4x-Extensions-Template-Manager-Templates-Edit-new-folder-dialog-

en

.png|500px]]

  • New File. Select to create a new file or to upload a file from your computer to your Joomla! template hierarchy. A popup window appears:
[[Image:Help-4x-Extensions-Template-Manager-Templates-Edit-upload-file-dialog-

en

.png|500px]]

  • Check Overrides. Activated when an Override is selected in the Overrides tab. The options are:
    • Mark Checked
    • Mark Unchecked
    • Remove Record

{{safesubst:Chunk4x:Help_screen_toolbar_icon_Close/

en

}} {{safesubst:Chunk4x:Help_screen_toolbar_icon_Help/

en

}}

File selected

{{safesubst:Chunk4x:Help_screen_toolbar_icon_Save/

en

}} {{safesubst:Chunk4x:Help_screen_toolbar_icon_SaveAndClose/

en

}} {{safesubst:Chunk4x:Help_screen_toolbar_icon_RenameFile/

en

}} {{safesubst:Chunk4x:Help_screen_toolbar_icon_DeleteFile/

en

}}

  • Check Overrides. Activated when an Override is selected in the Overrides tab.

{{safesubst:Chunk4x:Help_screen_toolbar_icon_CloseFile/

en

}} {{safesubst:Chunk4x:Help_screen_toolbar_icon_Help/

en

}}

Quick Tips

  • Before editing the HTML and the CSS file of the template, it is a good idea to make a backup of the file you are editing. Also, you can edit these files outside of Joomla! using the HTML or CSS editor of your choice.

Related Information

  • To install templates:

[[Help40:Extensions:_Install/en|Extensions: Install]]