This page allows you to edit your site's design by changing files within the template set(s) you are currently working with. From this page you can edit template files, CSS files, JS Files, upload media files, move files/folders around, etc. There is a lot of information packed into a small space on this page (especially in advanced mode), it helps to think of this as a fancy file browser and editor, because that's just what it is!
There are 3 main parts to the manager, which we will go into more detail below: The Info Box (top), the Side Bar (left), and the main File Navigation (middle).
At the top of the page, it will show what template set is currently set to admin edit under Design > Template Sets. If currently in advanced mode, it is possible to edit multiple template sets at the same time, in which case all the template sets currently marked as admin edit will display in a box. You can change which template sets are being edited in the admin by clicking the edit button next to it, or by changing which template sets are checked off on the admin edit column, in the Design > Template Sets page. When in standard mode, it will look something like the screenshot below.
You will not be able to edit any files or folders that are not within the template sets currently set to admin edit, or as it listed at the top of the page. It will also not show any templates or template attachments in template sets outside of this selection. It also affects the automatic file attachment changes. For instance, if you re-name a template file, if that template is included as a sub-template in any other templates, those other templates are automatically updated for you, but only for the ones in the template sets currently marked admin edit.
To help you get a better idea about all the different things the "admin edit template sets selection" allows you to do, read some of the tips below. Feel free to edit this page and add your own tips as well!
On the right corner of the page, it will specify if currently in advanced mode or standard mode, similar to the screenshot below.
Click the Switch to… button to switch back and forth between advanced and standard modes. See Differences between Standard and Advanced Mode for more info.
This box at the top holds general information about the current location you are viewing in the File List, along with buttons to allow you to do things at the current location.
This tells you about the current folder being viewed, what you are looking at.
This will create a new folder at the current location. Some places you will not be able to create a folder, such as in the base folder or in a folder which you do not have write access. In those locations, you will not be able to create a folder, and the button will be grayed out. If you click on the button when it is grayed out, it will open a box that tells you more info about why you cannot create a new folder here.
This button will let you create a new template file, if within the main page templates, or create a new JS or CSS file if within the external/ folder, which holds media files. You will only be able to create a new file in specific locations. If you are not able to create a file in the current location, clicking on the grayed-out button will usually give you more information about why you cannot create a new file here.
This button will open a dialog to allow you to upload a file to the current location. The uploaded file will over-write any existing file with the same name in the current location, so be cautious when using this. If you upload a template file to the main page templates, all the normal processing will take place just like if you had made changes to the template: it will scan the template for attachments, and automatically create or modify the modules to template attachment settings for that template.
This button will refresh the file list at the current location. Use this if you have made changes via FTP and wish to see the changes.
The side bar holds quick links to specific areas within the currently viewed template set, and shows information about the file or folder currently selected.
Template Folders: This will show quick links to different folders, and will change depending on the current folder being viewed.
<tip c n>Note: As long as you are in standard mode, or if in advanced mode, you have the advanced setting Allow Edit of system, module, and addon Templates turned off, the admin panel will not allow you to directly edit any template files that might require adjustments in an update or might be over-written in an update. When in doubt, if the admin panel allows you to edit a file, then it is safe to edit that file without worry of software update messing up your changes.
For template files that allow you to download or upload the changes, but do not allow you to edit the template directly in the admin panel, those are the templates that might need adjustments after an update. They include any templates in system/, module/, or addon/ sub-folders.</tip>
File Info:
If you have selected a single file or folder, it will display information about that file or folder in this section of the side-bar. If it is a template, CSS, or JS file, it will show a preview of the source code. If it is an image file, it will display a thumbnail of the image. Clicking on the source code preview or the thumbnail preview will bring up a larger version of the preview. If a folder is selected, it will show the folder's contents in the preview box.
This is the main file navigation window, which shows the list of files and folders, along with other tools and info. This section can be broken down into 3 main parts, the main file list, the File-list toolbar (bottom), and file-list info bar (very bottom).
This will list all the files at the current location, along with basic info on each file or folder.
You can click on any of the column headers, except for the "attach" and "permissions" columns, to sort the file list by that column. Click the column again to reverse the order.
Columns in the file list:
The file-list toolbar at the bottom contains the "with selected" actions that you can perform with the files and folders that are currently selected.
With Selected: tools:
This is only displayed in advanced mode. The file-list info bar contains information about the files and folders at the current location. The information displayed will be:
This section is normally hidden from view, until you cut or copy a selection of files and/or folders. When you do, the copied or cut files will be displayed in the File Clipboard which is displayed directly below the file-list info bar. Once the files are pasted, or the page is re-loaded or you navigate away from the page, the file clipboard is cleared and the section is hidden again.