SORT BY TEXT LINKS
11 posts by 3 authors in: Forums > CMS Builder
Last Post: July 31, 2009 (RSS)
By Dave - July 31, 2009
Hi Bob, thanks!
In response to your email, if you sort by town you'll see ?order=1 in the url. As long as that's in the url refreshing the browser won't show random listings, it will continue to show them sorted by town.
Next, I checked your price field under: Admin > Section Editors > Listings > Field Editor > Price and it looks like it's already restricted to only allow numbers. So long as all the prices are numbers only they should sort fine.
You can display numbers with commas in the viewers by adding this code in red:
<?php echo number_format($record['price']) ?>
Hope that helps!
In response to your email, if you sort by town you'll see ?order=1 in the url. As long as that's in the url refreshing the browser won't show random listings, it will continue to show them sorted by town.
Next, I checked your price field under: Admin > Section Editors > Listings > Field Editor > Price and it looks like it's already restricted to only allow numbers. So long as all the prices are numbers only they should sort fine.
You can display numbers with commas in the viewers by adding this code in red:
<?php echo number_format($record['price']) ?>
Hope that helps!
Dave Edis - Senior Developer
interactivetools.com
interactivetools.com