|
Working with Templates |
Top Previous Next |
|
Working with Templates webNetwork software uses templates extensively to allow you to customize your website easily and effectively. In fact, each page of your website has at least one template file associated with it. The templates are saved in the templates directory of the software. You can easily locate and edit individual template files. The Page Template page enables you to manipulate the entire set of pre-designed HTML templates of your web site. Page Templates table Locating a template You can easily get to know the template file associated with a website page by taking note of the end part of the page address. For example, the address for register page of your website will end like this: index.php?page=register. The template file for the register page will be named as register.html. Browse through the Page Templates table (above) to locate this file. (A few files have slightly different names. Refer to the Appendix section.) The main template A brief introduction to the main template is necessary for better understanding of template editing in webNetwork software.
The Main template forms the backbone of your website.
The main template (main.html) is present on every page of your website. All other templates form a part of this template. The curly brackets on the main template signify a variable entity. For example, in the above screen shot of the main template the {INDEX_TOP}, {QUICK_SEARCH}, and {MEMBERS_MENU} entities are associated with templates files of the same name viz index_top.html, quick_search.html, and members_menu.html respectively. The software will display the given templates on these positions on this page when you view this page on your internet browser. Each page of your website has different templates associated with the main page. Edit template icon
Editing a template
Manual editing with software such as Dreamweaver or any other HTML editor Using built-in WYSIWYG editor Restore original template icon Save button Cancel button
|