Tribiq CMS

Choose your language

2.2 The Templates Directory

All Template Families live in the directory called templates. This contains the custom templates for a Tribiq site.

On a single site installation, you should see this:

 

  templates/
    mysitename
        template family name/

Your site can have several Template Families. If there is more than one Family you will see this: 

 

 templates/
    mysitename/
        template family name 1/
        template family name 2/
        template family name 3/
Information: Why would I have multiple template families for one site?
If you are migrating your site to a new design - a new Template Family - an Author can experiment with the new Family by editing a Content Item and selecting a Template from the new Family. The Item can be viewed in Draft mode with the new Template without disturbing the live site which visitors see.

Once the design of the new Template Family is complete, you can switch all of your content to the new design, but you can leave the previous Family on the server, in case you’d like to refer back and see what your site looked like previously.

Multi-Site Management

Under Multi-Site Management, your single CMS installation can host several sites. Each site can have one or more Template Families.

Because of this, you may have several directories inside the templates directory, one for each of the websites which are being run on your installation.

So you may see a structure under your templates directory like this:


 templates/
    sitename 1/
        template family name 1a/
        template family name 1b/
    sitename 2/
        template family name 2a/
        template family name 2b/


Top of Page