|
b. Templates and Themes |
Top Previous Next |
|
iRealty design is very flexible. So, you can implement your own design easily. For this purpose, page templates, module templates and themes are used in the system. This software comes with several default templates that can be used 'as is', edited to your liking, or replaced with your own templates.
Theme is a common design layout of the whole web site, a combination of templates. You can create the unlimited number of themes within your web site, but you can only use one at a time.
Template is a common layout of data displayed by the system. There are two types of templates: page templates and module templates.
Page template is a common page layout. Page template consists of HTML code, Smarty tags and special tags that include module functions into the page. Each page template also includes a main content tag that displays the content specific for that particular page. There are two default page templates in the system: index.tpl and main.tpl. Main.tpl is a template of the first page of your website, whereas index.tpl is a default template for all other pages.
Module template is a layout used by a module function to display its output data. Module templates are used by functions. Module template consists of HTML code, Smarty tags and other module functions tags. You may find detailed description of each module template in the section 'Module Templates Reference'.
Templates of Database Field Types determine the way how database field types for listings and for user profiles will be displayed. Templates of Database Field Types are divided into three types: input, search and display templates. More information about it read in the section 'Database Field Types'. |