Greatings, This update adds the sort by price feature for Classifiedawy. A new link added in the sort by navigation: Sort by: Photo | Title | Price | Type | Location | Expires Also fixed the html code for some account manager templates for the price listing header column which was missing in the last updates. Also fixed issue with the sorting of search results which was forced by price. How to upgrade CGI files Please update these cgi files: Search.pm Configuration.pm Main.pm Classifieds.pm PreviewEditAd.pm
Language Files The file General.pm has new variable added: price_sort~==~Price
You can add it of update this file if you have not done any customizations Templates Files Please update these templates or only add the changes: Listing.html ListingSearch.html MyRepliesList.html WatchList.html ExpiredList.html MyAdsList.html The html code added in the sort nav is:
Code: HTML
<a href="<!--CLASS::Price_Sort-->">[[price_sort]]<!--CLASS::SortImg_Price--></a> |
|
and the html code added for the list price header is:
Code: HTML
<td align="left"><b>[[list_header_price]]</b></td>
|
You can only added the above code in the correct positions if you have done any customizations to these templates. |