Forums Index > Mewsoft > Official Announcements > Classifiedawy 11.70 Upgrade. Sort By Price Added
mewsoft First Post Posted on: 08-07-12 09:20 PM
Classifiedawy 11.70 Upgrade. Sort By Price Added

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 dn

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.


Mewsoft Support
www.mewsoft.com

mewsoft Reply #: 1 Posted on: 08-07-12 09:30 PM
Re: Classifiedawy 11.70 Upgrade. Sort By Price Added

This update also fixed an error when editing an ad and try to preview with an missing field.

Mewsoft Support
www.mewsoft.com