 | |  |
 |

ken_itools
Staff

Nov 4, 2002, 5:34 PM
Post #1 of 1
(1085 views)
Shortcut
|
Realty Manager 2.27 Released
|
Can't Post
|
|
Hi Folks, We've released version 2.27 of Realty Manager with two new features. 1) $listing_num$ placeholder is now available to the _publish_listings.html template (formerly it was just available to the _publish_listing_index.html template) and 2) a new hfield/lfield type called checkboxes. Here's an example of using a checkboxes lfield to list the days when an open house is occurring: - Goto the Listing Database Fields page (Setup Options, Setup Listings Fields button)
- In an empty fieldname, enter Open House Days(Mon, Tues, Wed, Thur, Fri, Sat, Sun), choose checkboxes field type and make it an active field
- In your _publish_listing.html template, find an appropriate spot to add something like "OPEN HOUSE (9 am to 2 pm) $lfield##$" (where ## is your field num)
- Goto the Listing Editor and check a few days, and save.
Couple of things to note: a) the output of a checkboxes h/lfield is a list of values checked, separated by a comma and a space, in the same order as you have listed them. b) unlike dropdown fieldtypes, you do not want a comma as the first entry. This would give you a checkbox with no value. c) when modifying templates to display checkboxes h/lfields, keep in mind that users can check none, one, some or all of the checkboxes. You may not want a "blank" area when none are checked, and the output can get long if you have a lot of checkboxes and a user checks them all. ---------- Ken Clarke - YAPG (Yet Another Perl Guy :) interactivetools.com, inc. Tel: (604)689-3347 - Fax: (604)689-3342 - Toll Free: 1(800)752-0455
|
|
|  |
 | |  |
|