![]() |
|
|||||||
![]() |
Realty Manager Tutorial: Templates 101
What are templates and how do they work? Templates are rather like blueprints. They contain the raw structure and appearance of a webpage, but lack the actual page data. They are used to create pages - and as such, they should never be referred to directly. Each template contains three types of information: Realty Manager uses these templates to create the actual HTML web pages. For instance, when you create a new listing, Realty Manager feeds the listing information into a template, then creates an actual HTML document out of it and stores it on your server. The benefit to these templates is that page styles and structures only need to be set up once - afterwards, every page using the template will be produced to look alike. Additionally, since they are coded in HTML you can use any HTML/text/WYSIWYG editor (such as Dreamweaver, Frontpage or GoLive) to easily modify them. Why does Realty Manager create static HTML pages, and not dynamically create them? For one simple reason: speed. If every page on your site was created 'on the fly', your site would run a lot slower. Putting together dynamic pages requires your server to be actively involved - it has to put together each page again and again, and this uses up a lot of its resources. So instead, Realty Manager creates static HTML documents which can be retrieved quicker! What templates are there? Realty Manager comes with six default templates, each stored in the /templates/_realty/ directory. Here's an overview of what each one is used for. _publish_homepage.html _publish_homepage_index.html _publish_listing.html _publish_listing_index.html _search_query.html _search_results.html Did this "How to" make sense? Send us your feedback, or let us know if you're using something like this on your installation of Realty Manager and we'll link to it as an example. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||