Help310

Extensions Template Manager Templates Edit Source

From Joomla! Documentation

Revision as of 17:37, 15 September 2012 by (username removed)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Overview[edit]

This screen is accessed from the back-end Joomla! administrator panel. It is used to edit the source code of template files.

How to Access[edit]

Navigate to the Template Manager: Customise Template screen. Click on the name of the template you want to edit. Then click the link to the template file that you want to edit.

Description[edit]

This screen is where the source code of template files is edited. It provides a plain text interface to edit the template files. HTML and PHP programming syntax is highlighted to make the source code files easier to read.

Screenshot[edit]

File:Help30-Extensions-Template-Manager-Templates-Edit-Source-screen.png

Details and Options[edit]

  • Source Code. The contents of the selected template file is displayed and editible here.

Toolbar[edit]

At the top right you will see the toolbar:

Help30-Save-SaveClose-Close-Help-toolbar-en.png

The functions are:

<translate>

  • Save. Saves the template source file and stays in the current screen.</translate>

<translate>

  • Save & Close. Saves the template source file and closes the current screen.</translate>

<translate>

  • Cancel. Closes the current screen and returns to the previous screen without saving any modifications you may have made.</translate>

<translate>

  • Help. Opens this help screen.</translate>

Quick Tips[edit]

  • Important: Do not delete the default template files using FTP because it generates an error in both the front-end and back-end.
  • 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[edit]