- September 11, 2014 at 18:42 #2041
Hello support, I am a registered user, but for some reason, can not log in today.
Here is my question.
I would like to sort my ads on category by updated date, last updated on top of the list. This way I might motivate the people to update their sites more often. Also give the people option to ranked higher. This is because my site is more web directory as classifieds.
Can you give me some idea, where I can I make changes in source code? Or can it be achieved in simple way?
ThanksSeptember 11, 2014 at 18:50 #2059
There is no built in way of doing it, you have to edit source code to order by last updated date. This guide is given using Classibase version 1.7.6 (published on 2014.09.11).
/sys/app/controllers/IndexController.phpfile line 388 change
ad.updated_at. This will change order in category listings.
/sys/app/models/Ad.phpfile line 2204 change
ad.updated_at. This will change order in widgets.September 15, 2014 at 19:56 #2073
Thanks you very much for fast and adequate support.
I really love your program and it is the best in its category. So much brain and work invested, just wondering how you can manage answering all these questions and same time doing programming job.