How do i change so at the dealers page the dealers get sorted alphabetical as standard?
Right now it's sorted by date as default.
Printable View
How do i change so at the dealers page the dealers get sorted alphabetical as standard?
Right now it's sorted by date as default.
Hello Peter,
Go to ftp://includes>>classes>>rlAccount.class.php find method: searchDealers
and code:
and replace toPHP Code:
Only registered members can view the code.
save and check again.PHP Code:
Only registered members can view the code.
WARNING: If you write incorrect field you will see mysql error on your site. That's why you should write correct field name from DB->fl_accounts table.
Tried it and it don't seem to work. Nothing is changing.
Hello Peter,
If you want I can check it on your site. Please send ftp access to my PM and I will change it on your site.
Hello Viktor,
I'm trying to sort dealers by "Listing_count" in Dealers page, but your suggested modification isn't working for me.
I used this code:
Can you help me out with this?Code:Only registered members can view the code.
Thanks!
Where did you implement it? would you please send me a file or part of the code. I think you did something wrong.
Hello Viktor,
I'm using this code in ftp://includes>>classes>>rlAccount.class.php:
Code:Only registered members can view the code.
Hello Viktor,
Do you know what should I edit to have the Dealers sorted by Listings_count by default?
Thanks!
Implement the same line to another method: getDealersByChar located in the same class.
Perfect!
I replaced this code:
with this code:Code:Only registered members can view the code.
Thanks!Code:Only registered members can view the code.