tamriel-foundry / apocrypha

Theme files for Tamriel Foundry
2 stars 1 forks source link

A versatile search form #12

Closed aaclayton closed 10 years ago

aaclayton commented 11 years ago

I would love to have one unified "Advanced Search" page on TF that gives the user a ton of different dropdowns and input fields all from one location.

Here's a rough sketch in my head:

Search For (select)

-> Articles

-> Topics

-> Members

-> Guilds

We could use some javascript to only display the appropriate form fields depending on the user's top-level search-type selection.

jaspervalero commented 11 years ago

Been a minute since I've had a chance to work on this. I know we decided to approach it modularly adding the Article search as it was already finished. So should the results look like do on the homepage? For example 2 columns 3 rows? Or is it going to more traditional horizontal layout?

Also trying to recall the file you said to modify to adjust for the type of search? Has this changed with the new class based structure?

aaclayton commented 11 years ago

Hey Jasper, sorry for the delay, I've been out of town on vacation. How we visually style the search results might depend on what search type we are doing.

Also, I think perhaps instead of having an advanced-search.php page template in addition to the normal WP search.php page, maybe we can just fold the two together, and put the advanced search form in the default WP search results template, that way any other searches on the site will output results in the same page where adv. search settings are, which would allow users to fine-tune their search results.

I think we're going to have a number of functions handlers to do search-related stuff, so we should probably just extend our current approach with an Apoc_Search class.

I'll be back home late tonight, and around a fair bit this week.

aaclayton commented 10 years ago

What's our status on the search stuff? What help do you need from me to finish it up? Is it to a stage that I should take over and polish it off?

aaclayton commented 10 years ago

I've added a slightly stripped down version of this. It has most of the options we discussed, and everything is linked in to retrieve the relevant posts/pages/topics/guilds/members etc...

I also redirected the searches that are submitted using the admin-bar dropdown and the forums search bar to display results on the advanced-search page.

aaclayton commented 10 years ago

OK... search isn't great, but I think it's about as far as we're going to get it for this milestone.