I need to know how to organize my links alphabetically like the links category on the main page.
Right now, the links are in order they are submited. I want them to be organized alphabetically by <%title%>
I need to know how to organize my links alphabetically like the links category on the main page.
Right now, the links are in order they are submited. I want them to be organized alphabetically by <%title%>
Open browse.php3, edit line 97:
PHP Code:$query = "select * from link where category_id = '$cat' order by title";
How is this done in v3?
Open browse.php, change line 80 to:
PHP Code:$links_obj->query = "select * from idx_link where category_id = '$cat' order by title";
Will this work in version 3.0.4? Do the listings with bids appear before the alphabetical listings?
Thanks,
Craven
I don't see why not? indexu hasn't been dramatically changed from 3.0.3 but just a few bug fixes.
You should be able to work that into 3.0.4 without a problem.
hh
But wouldn't this code overwrite the bid feature and just put the listings in alphabetcal order? Are you using this now?
Craven
yes it would over write the bid feature and I am using it write now. I don't think indexu has set it up to use bid feature and by default go to alpha listing, which should be the case.
Someone should suggest this in the suggesion box.
hh
I think it's a choice. People can prefer, order by bid or alphabet, or maybe other field.
I dont' think the question is about choosing bid feature over alphabetical features. I agree people should choose whatever they want and they are free to do.
What we want is the link to be listed by bid and then for those links that aren't given a bid, by default they should be listed alphabetically.
This still means that people can choose to list it alphabetically. We don't want to take away that option.
Why do we want this?
For those links that have paid a fee for priority placement we give bids for higher ranking. For those that aren't paying they should be listed alphabetically so as to help our visitors find them easier.
Thats basically what the object of this request is about. Not to take any options away.
Hart