How to add a Template Open Realty 2.0Open Realty 2.0 | Open Realty 2.1 x 2.2Your template folder should look like this: ---index.php
A) To install your template upload your template and all its contents into the open realty template directory folder.
1. main.html - This is the template for the main site. It is equivalent to the user_top.html and user_bottom.html files for open-realty 1.x. It is simply a html file with the tag {content} to specify where open-realty should place its information. Information is made up of either sub template like the listing_detail_default.html file or direct content from OR. 2. popup.html - This is the template used on popup windows such as the Calculators and Agent Contact Forms 3. printer_friendly.html - This is the template used when the user selects the Printer Friendly Page from listing details 4. listing_detail_default.html - This is the default listing_view template. It has a number of tags avliable to it, see the listing_template_tags page for details. 5. listing_detail_mainjavacolumn.html - This is the Listing View with Java Image with thumbnails in columns. 6. listing_detail_slideshow.html - This is the Listing View with Slideshow. 7. listing_detail_mainjavarows.html - This is the Listing View with Java Image with thumbnails in rows. 8. search_page_default.html - This is the default search result template. It has a number of tags avliable to it, see the search_page_template_tags page for details. 9. search_results_default.html - This is the default search result template. It has a number of tags avliable to it, see the search_result_template_tags page for details. 10. search_results_box.html - This is a tabled layout for the search results containing more fields and information in a nicely formatted table. 11. search_results_nophoto.html - This is a simple single line of listing information without any thumbnail photo displayed. (X)HTMLHere are some very basic guides to XHTML for Open Realty TemplatesValidateW3C validation for (X)HTML Use this validator to check documents like HTML and XHTML for conformance to W3C Recommendations and other standards. Why validating?This validator is being provided by the W3C. The (X)HTML validator will help you to write your code according the W3C standards. Using the validator can save you a lot of time and effort. If you're having trouble getting your style sheets to work, it might be the result of a typo, some basic error,... You can spend a lot of time going through your code but why not let the validator do that for you? W3C validation for CSS Use this validator to identify errors in your CSS code. Just provide the URI (HTML with CSS or only CSS) that you want to have validated. Your CSS style sheet needs to have a correct grammatical structure.This means that you need to use correct HTML. Why validating?This validator is being provided by the W3C. The CSS validator will help you to write your CSS code according the W3C standards. Using the validator can save you a lot of time and effort. If you're having trouble getting your style sheets to work, it might be the result of a typo, some basic error,... You can spend a lot of time going through your code but why not let the validator do that for you? You can view the the full text of the Copyright Note here. CSSRather than attempt to build a comprehensive CSS tutorial which could never compete with those currently on the net I have simply compiled a few guides on popular CSS topics for Open Realty Templates.DTD'SList of valid DTDs you can use in your document.HTML 4.01 - Strict, Transitional, Frameset: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> XHTML 1.0 - Strict, Transitional, Frameset: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> Template <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>An XHTML 1.0 Strict standard template</title> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> </head> <body> <p>... Your HTML content here ...</p> </body> </html> © 2005 • open realty templates •
|