Help4.x

Templates: Customise/fr: Difference between revisions

From Joomla! Documentation

FuzzyBot (talk | contribs)
Updating to match new version of source page
FuzzyBot (talk | contribs)
Updating to match new version of source page
 
Line 47: Line 47:
</div>}}
</div>}}
<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
*'''Copy Template.''' Select to make a complete new copy of the template. You will be prompted for a new template name. There is also an opportunity to Close without creating a new template. To remove the new template: go to Extensions -> Manage, check the template check box and select Uninstall in the toolbar.
*'''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.
</div>
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
Line 64: Line 64:
en
en
</div>.png|500px]]
</div>.png|500px]]
<div lang="en" dir="ltr" class="mw-content-ltr">
* '''Check Overrides.''' Activated when an Override is selected in the '''Overrides''' tab. The options are:
** Mark Checked
** Mark Unchecked
** Remove Record
</div>
{{safesubst:Chunk4x:Help_screen_toolbar_icon_Close/<div lang="en" dir="ltr" class="mw-content-ltr">
{{safesubst:Chunk4x:Help_screen_toolbar_icon_Close/<div lang="en" dir="ltr" class="mw-content-ltr">
en
en
Line 86: Line 92:
en
en
</div>}}
</div>}}
<div lang="en" dir="ltr" class="mw-content-ltr">
* '''Check Overrides.''' Activated when an Override is selected in the '''Overrides''' tab.
</div>
{{safesubst:Chunk4x:Help_screen_toolbar_icon_CloseFile/<div lang="en" dir="ltr" class="mw-content-ltr">
{{safesubst:Chunk4x:Help_screen_toolbar_icon_CloseFile/<div lang="en" dir="ltr" class="mw-content-ltr">
en
en
Line 104: Line 113:
<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
* To install templates:
* To install templates:
</div> [[Help40:Extensions:_Install/<span lang="en" dir="ltr" class="mw-content-ltr">en</span>|<span lang="en" dir="ltr" class="mw-content-ltr">Extension Manager: Install</span>]]
</div> [[Help40:Extensions:_Install/<span lang="en" dir="ltr" class="mw-content-ltr">en</span>|<span lang="en" dir="ltr" class="mw-content-ltr">Extensions: Install</span>]]


<noinclude>
<noinclude>
{{Cathelp|4.0,4.1,4.2|Template Manager Help Screens|Styles Help Screens}}
{{Cathelp|4.0,4.1,4.2|Template Manager Help Screens|Styles Help Screens}}
</noinclude>
</noinclude>

Latest revision as of 09:30, 16 January 2023

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]]