Administration/System/Templates manager

From Lanius CMS Wiki

(Redirected from Component/Admin templates)

Contents

Templates Manager

For general information about templates, see Templates.

Templates Manager page

You can view template details (and even preview how it looks), by clicking on Info hyperlink, which is available next to the template name.

Installing a template

You can install new templates by clicking on New button, after which the Install Template page will be displayed. There are three methods you can install a template: by uploading a file, by providing destination to a remote URL, and by specifying a local path on the server.

Install Template tabs


At this moment, you should choose one of them and click on appropriate tab:

  • Select File upload tab if you want to upload a template from an archive (supported formats are ZIP, TAR, GZ, and TGZ), then specify local path to the template file

File upload tab

  • Select Remote URL tab if you want to use a remote URL address, then specify remote path to the template file

Remote URL tab

  • Select Local Path if you want to retrieve files from local directory, then specify local path to the template directory

Local Path tab

When you've finished, press the Install button. An information window will be displayed.

Install Template information window

The template is installed, and you are returned to the Templates Manager page.

Editing a template

If you want to make some changes to the installed template, feel free to use template editor. Select the radio button next to the template you want to edit and press Edit button. The Edit Template page will be displayed. On the top of this page you can find tabs (it's number depend on template's type) representing main template's file (index.php) and it's stylesheets (CSS files).

Edit Template tabs

Clicking on tab will show it's file content, which you can change with attached template editor.

Edit Template editor

Make any changes to the template and click Save. The changes are saved, and you are returned to the Templates Manager page.

Deleting template

When you no longer need a template, you can delete it. Select the radiobutton next to the template you want to delete and press Delete button. A prompt window will be displayed, asking if you want to proceed.

Delete template prompt

Click OK. The template is deleted, and the Templates Manager page is updated.

Publishing template

You need to always have one template published on your website (one Site Template and one Admin Template). When you publish a new template, the site's appearance will change according to the specifications included in the template. To publish the template, select the radiobutton next to the template you want to publish and press Publish button. The template is published, and the status is updated in the Published column of the Templates Manager page. You can see if the Template is currently published by looking on Published column of the Templates Manager page. A checkmark indicates which template is published.

Related pages

Personal tools
Create a book
  • Add wiki page
  • Collections help