|
I want to just use tags, and get rid of categories, unfortunately there are some problems with that. Since search.php handles all tag searches, then you can only have tags sorted one way (right?). But I want it so that if the user is on the frontpage and clicks a tag his tag results only display published stories with that tag, or if hes on queued just display queued stories with that tag, and if hes on topstories.php it should display all results for that tag (published and queued), but ordered by number of votes.
So here's what we need:
1. Next to the search box should be a dropdown menu (all [default], published, queued) to select what you want to search.
2. Also The following friendly URLs:
mysite.com/all/tag/xxx (default)
mysite.com/published/tag/xxx
mysite.com/queued/tag/xxx
mysite.com/topstories/tag/xxx (basically same as "all" but ordered by votes).
Then I could make the it so that the url when you click a tag is "/tag/xxx", so basically
if you are on mysite.com/published/ and you click a tag thats in a post (or wherever) it will just append "/tag/xxx" to your current address and take you to mysite.com/published/tag/xxx.
Last edited by gragland; 06-23-2006 at 04:36 PM..
|