The entire user interface for Lore is built on a completely customizable template and style system. Each specific page (and some elements used in many pages) is contained in its own separate template file.
A style is a complete collection of templates with a CSS stylesheet. Your knowledge base can easily have several styles that you can instantly switch to using the control panel. Each style has its own directory in the /styles folder.
Lore uses Smarty for its templating engine. Smarty is an extremely fast and powerful templating engine in use on thousands of web sites. Each template used by Lore contains the static HTML with the variables containing the information that changes from page to page (such as the article title and content). Variables will appear like this in templates:
<b>{$articles.title}</b>
When the above template is rendered by smarty, {$articles.title} is replaced with the actual article title. When you are customizing your templates, you may want to move the variables around or change the HTML around them, but it is not recommended that you modify the actual variable name/tag itself unless you know what you are doing.
October 7, 2003 at 4:11am
Useful tips
2. Make your changes to your style file
3. When a new version of Lore comes along, run a 'diff' on the new and the old default styles. A good, free Windows version is at http://www.componentsoftware.com/products/csdiff/index.htm.
4. Make any related changes to your own style file.