![]() |
|
|||||||
![]() |
Realty Manager Tutorial: Simple Template Integration This tutorial is going to cover the steps of a simple template integration. You can view a sample of the kind of template we will be working with here: Basically, you have the header up top, some static info down the left and right with the Listings Manager content going right in the middle. Here's the easiest way to get a template like this going with Listings Manager.
1. Create a template.html file In this step, you will be opening up your template and finding the area where Listings Manager content will go. Usually, theses kind of templates are going to be done with a table layout or even a fluid (all done with <div> tags) layout. In my example, we are using a fluid layout so I am going to be looking for the <div> tag that the main content will appear in. If you are using a table layout, you'll be looking for a <td> tag instead. In my example, the main <div> tag is on line 28. This step is basically going to be the removal of any HTML that is within the main <div> tag (or main <td> tag). We'll replace it with a couple comment tags so it's easy to find that area in the template: <!—Listings Manager Content Starts --> <!—Listings Manager Content Ends --> Once you have added these comments, save the file as "template.html". You can now open this template.html file in your browser to double check that it still looks like your original page but with a blank white area in the middle. Here's what mine looks like: I added a clear all break tag between my comments just so the design didn't collapse. You may or may not need this. 2. Repeat for all templates To make things a little easier, here is a break down of all the code you'll need to copy and paste for each of the default templates. What you do with this is, open up template.html and one of your templates. Find the corresponding chunk of code from bellow here, copy/paste it between the comment tags on template.html and then copy/paste all that into the actual template file you are working on. Here's a sample site setup using the actual template: Sample Site
_publish_listing.html | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||