I've posted a new build for Property Agent in the downloads section (members only).
New Functionality Includes:-
- Added a new separate "Print" template, this will allow you to create a printer friendly page that differs from your view page.
- In "Edit Layout Files", selecting each template from the dropdown will now result in a brief description being displayed.
- Added a new "Expression" token that will allow you to optionally display html based on certain criteria. The format is [EXPRESSION:XXX:YY:ZZZ][/EXPRESSION:XXX:YY:ZZZ] where XXX is the name of the custom field, YY is the expression (=,!=,<,<=,=>,>) and ZZZ is the value to compare against. A typical example is [EXPRESSION:Bedrooms:>:5]Wow, this is a big house![/EXPRESSION:Bedrooms:>:5]. Note: make sure the closing tags match.
- Added a new field on the "Custom Field" page that will allow you specify a maximum length for the single line and multi-line textbox. This will alow you to restrict the number of characters a user is able to enter into that field.
- Added a new role token, [ISINROLE:XXX][/ISINROLE:XXX] where XXX is the role name and will look for a match for the logged in user.
- The "Edit Permissions" page now had 2 additional columns, "Add Images" allows you to specify whether a user can add images to a property, "Feature" allows you to specify whether a user can feature a particular property. The "subscribe" column has been hidden until it is used.
- Added 2 new tokens, [HASVALUE:XXX][/HASVALUE:XXX], [HASNOVALUE:XXX][/HASNOVALUE:XXX] where XXX is the name of the custom field. This will allow you to optionally display sections dependant on a field having a value (or not).
- The template guide has now been updated to reflect the new tokens.
Fixed Bugs Include:-
- A print template with the contact form ([CONTACTFORM]) will now work properly (contact form is hidden).
- Forms now use validation groups to avoid conflicts where multiple forms are on the same page.
- When deleting a custom field, the cache is now cleared correctly.
|