I've posted a new build for Property Agent in the downloads section (members only).
New Functionality Includes:-
- Added a new option in layout settings called "Default Expiration". This will allow you to optionally set a period of time (defined in days/months/years) that a property will expire in e.g. if you hide the publishing details from regular users, you can set a default expiry to automatically expire the properties after that period of time. If you leave the setting blank (default), no default expiration is applied.
- Added some additional tokens to the listing/view templates:-
- [NEXT] - A hyperlink to the next property in the selected property's type. Shows nothing if it is the last property in the type (uses default listing sort order).
- [NEXTLINK] - Similar to [NEXT] but shows a url rather than a hyperlink.
- [PREVIOUS] - A hyperlink to the previous property in the selected property's type. Shows nothing if it is the first property in the type (uses default listing sort order).
- [PREVIOUSLINK] - Similar to [PREVIOUS] but shows a url rather than a hyperlink.
- [HASNEXT][/HASNEXT] - Shows the content between these tokens when it is not the last property in the selected property's type.
- [HASPREVIOUS][/HASPREVIOUS] - Shows the content between these tokens when it is not the first property in the selected property's type.
- [TYPECOUNT] - Shows the count of properties belonging to the selected property's type.
- [TYPEPOSITION] - Show the position of the property in the selected property's type (uses default listing sort order).
- The above tokens can be put together to achieve next/previous functionality shown here.
- [ISLOCALE:XXX][/ISLOCALE:XXX] - Shows the content between these tokens where XXX is the name of the locale (e.g. en-GB, en-AU, en-US) and the current user has that locale for your portal.
- The template guide has been updated.
Thanks again for your patience. |