1
I have a series of directories. Part of my launch strategy is to offer listings on a first come served basis.
I need to modify Xdiretory to display the listings in the order they were approved, rather than alphabetically. I contacted builderb and he said I could
Quote:
Yes, there is a way to do this but, it requires you to add an additional field in the DB called "startdate" once you do this it will require you to modify several files.
submit.php & templates/xdir_submit.html - add new hidden field and call the current date/time then define the variable and make sure it gets into the DB when submitted.
admin/index.php - you will need to add a field allowing you to edit this date.
viewcat.php - change the $orderby variable to:
$orderby = "premium DESC,startdate ASC,title ASC";
include/fuctions.php - add new order to the existing ordering list.
But I have no idea how to do this. I also need to get the map function to work with UK maps or failing this to remove the map button.
I am willing to pay for this work.
Can anyone help - this is urgent. I have a new site ready to launch but I can't do it until I get the sort order changed.