![]() |
|
|||||||
![]() |
Realty Manager Tutorial: Adding a Printer-Friendly Page
Using Realty Manager, it's possible to display your listings in multiple ways. For instance, you could have separate pages for: This tutorial explains how to do the last one, but the others would work in precisely the same way. Step 1: Create a printer-friendly template Find the _publish_listing.html template (stored in your /templates/_realty/ directory), and save a copy of it with a different filename. This is the template that is used to create your listing details pages. For the sake of clarity, here we'll name it _publish_listing_printer_friendly.html, but you can actually name it whatever you want - just keep this in mind when you're building the custom link in step 2 below. You'll need to edit this template so that it is a slimmed-down version of your regular publish listing page. For example, you may want to remove the images altogether to have the printed version of the listings appear as solely text. It's a good idea to try to fit it all into one page for printing purposes. After making your changes, re-upload the file to your /templates/_realty/ directory. Step 2: Include a link to the printer-friendly pages Now we've created the template for the printer-friendly pages, we need to provide a link to it from your existing listing pages. Download your _publish_listing.html template via FTP from your server. As mentioned, this template is used to create your listing details pages. In this page, add in the following link (at an appropriate spot): <a href="$search_url$?view=$listing_num$&template=_publish_listing_printer_friendly.html">Printer Friendly</a> Perhaps place the link at the top of each listing for ease of navigation. For those of your who are curious, here's what makes up our printer-friendly link: Finally, go into your Setup Options and republish your listings by clicking its corresponding 'Publish' button. That will recreate your listings with your new Printer-Friendly link. And you're all done! Did this "How to" make sense? Send us your feedback, or let us kno w if you're using something like this on your installation of Realty Manager and we'll link to it as an example. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||