3.0 Overview
Let’s look at how to create a basic Tribiq template, a “Hello World” of Tribiq CMS template design.
As you probably know, there is no globally perfect strategy to creating a web page; your definition of perfect is different from ours, so your choice of tools when creating your first template will depend on your own preferences and skills.
Some designers will use a desktop GUI-based program, such as Adobe Photoshop to create a web page design and break it up into images and HTML. Other designers may like to be closer to the XHTML source code, so you may be inclined to use a text-based editor or other non-WYSIWYG editor, such as Notepad.
Whichever way you decide to create web pages, you will need to create a simple design, and then turn it into a Template.
3.0.1 Working Remotely
A Tribiq CMS template designer, as with most online CMS designing, cannot instantly see the effect of his/her coding in the same WYSIWYG editor. Artifacts, such as Menus, Shortcut blocks and Tribiq CMS-driven information, are embedded dynamically and therefore require a Tribiq CMS installation for testing. The easiest way to get around this problem is to create and edit files on the same machine that your Tribiq installation sits on.
Testing should be done on a development server, if at all possible, to prevent any unforeseen problems being seen by visitors to your site. If you have to develop on a live site, create a private page, well away from prying eyes and test the template using that.
3.0.2 Permissions
Make sure that all items in the template family have Global READ, Owner WRITE and Owner Execute permissions. In Un*x type systems, this can be done by setting all files within a Template Family folder to chmod 644.
Make sure that all folders in the template family have Global READ, Owner WRITE and Global Execute permissions. In Un*x type systems, this can be done by setting all folders within a Template Family folder to chmod 755.
Setting permissions correctly is vital to Tribiq CMS displaying artifacts, other includes 
and images properly. Always check permissions first if you are having problems. You’ll also get a “PHP Include Error” if permissions are invalid.
If the server is running on a Windows platform, permissions can be set using the Permissions tab via the Windows Explorer or My Computer Interfaces.
Top of Page