Click to Register Your Support Account

Already a member? Login below.

Go Back   One Theme Support Forums > One Theme Version 1 (OLD) > Using One Theme

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-18-2008, 09:29 AM
Member
 
Join Date: Jul 2008
Posts: 89
Default Multi Select Search Box

Hi,

To help with the large number of categories I have I want to include a multi select search box where you select box 1 and box 2 is pre-populated based on your decision. I know how to code this and have a version workking but I need some help:
  1. I will want to include this in the sidebar but want to make it look professional like the standard one-theme sidebar widgets (an example of a site which does what I want is Home - What Car? Helping you buy better)
  2. I will want stop categories appearing on the standard navigation area, how do I do this?

Thanks in advance

Graham
  #2 (permalink)  
Old 08-19-2008, 05:26 PM
Member
 
Join Date: Jul 2008
Posts: 89
Unhappy

Can anyone help??
  #3 (permalink)  
Old 08-20-2008, 10:37 AM
Member
 
Join Date: Jul 2008
Posts: 89
Angry

Can anyone from the support team help..............????????
  #4 (permalink)  
Old 08-20-2008, 01:13 PM
Lee's Avatar
Lee Lee is offline
One Theme Support
 
Join Date: Jul 2008
Posts: 420
Send a message via MSN to Lee Send a message via Skype™ to Lee
Default

Hello

I'm struggling to understand what you mean, would you mind posting a screenshot?
  #5 (permalink)  
Old 08-20-2008, 05:25 PM
Member
 
Join Date: Jul 2008
Posts: 89
Question

I am looking to do something as shown in this image:

screen.gif

Essentially I will pull my categories and subcategories into this select form. I want to know how I can place this into the header and give it a look and feel consistent with the site.
  #6 (permalink)  
Old 08-20-2008, 06:13 PM
karl's Avatar
Developer
 
Join Date: Jul 2008
Posts: 471
Smile Custom Plugin

Hi

I think you need to commission a piece of work like this. Unless you have any web design experience?
  #7 (permalink)  
Old 08-21-2008, 01:47 AM
Member
 
Join Date: Jul 2008
Posts: 89
Default

Is this something you would be willing to do for a price or can you recommend anyone?
  #8 (permalink)  
Old 08-21-2008, 02:08 AM
mc2w's Avatar
Senior Member
 
Join Date: Jul 2008
Posts: 314
Send a message via AIM to mc2w Send a message via MSN to mc2w
Default

I've figured out the search querying required to search only specific categories, I might be able to do it. Let me see if I can get some php magic done.

If it matters to anybody, the way to query a specific category is by adding "&cat=" to the end of the url, followed by the category id numbers. If you are querying multiple categories, put commas in between the numbers.

Okay, I'm having troubles, I have no idea how to create a Wordpress plugin xP

If someone else wants to try, all they need to be able to do is pull the category names + ids from the database, and then post the ids along with the search terms when the user submits their search.
__________________
Powered By One-Theme: Wiflba, Our-Panel

I am not one of the One-Theme creators. I am simply here to help!

Last edited by mc2w; 08-21-2008 at 03:02 AM.
  #9 (permalink)  
Old 08-21-2008, 03:53 AM
Member
 
Join Date: Jul 2008
Posts: 89
Default

Thanks for looking at this...

Graham
  #10 (permalink)  
Old 08-21-2008, 12:43 PM
Member
 
Join Date: Jul 2008
Posts: 89
Unhappy

Can anyone do this, willing to pay...
  #11 (permalink)  
Old 08-22-2008, 05:40 PM
karl's Avatar
Developer
 
Join Date: Jul 2008
Posts: 471
Unhappy

Hi guys

Sorry I'm not able to take you up on this, I'm pretty swamped getting 1.1 developed.
  #12 (permalink)  
Old 08-22-2008, 05:53 PM
mc2w's Avatar
Senior Member
 
Join Date: Jul 2008
Posts: 314
Send a message via AIM to mc2w Send a message via MSN to mc2w
Default

Quote:
Originally Posted by karl View Post
Hi guys

Sorry I'm not able to take you up on this, I'm pretty swamped getting 1.1 developed.
Okay, well, I'll see if I can figure out the whole WP plugin api by looking at some other plugins. If I can figure it out, I'll make a plugin
__________________
Powered By One-Theme: Wiflba, Our-Panel

I am not one of the One-Theme creators. I am simply here to help!
  #13 (permalink)  
Old 08-22-2008, 06:42 PM
Member
 
Join Date: Jul 2008
Posts: 89
Default

Thank you for taking the time to do this, I am very grateful
  #14 (permalink)  
Old 08-22-2008, 06:45 PM
mc2w's Avatar
Senior Member
 
Join Date: Jul 2008
Posts: 314
Send a message via AIM to mc2w Send a message via MSN to mc2w
Default

Quote:
Originally Posted by fergusga View Post
Thank you for taking the time to do this, I am very grateful
I've sent you a pm, I need some info to make sure I get you everything you want out of the plugin =P
__________________
Powered By One-Theme: Wiflba, Our-Panel

I am not one of the One-Theme creators. I am simply here to help!
  #15 (permalink)  
Old 08-24-2008, 12:31 AM
mc2w's Avatar
Senior Member
 
Join Date: Jul 2008
Posts: 314
Send a message via AIM to mc2w Send a message via MSN to mc2w
Default

Okay, I got the basic version of it done. There's no styling, and there isn't a separate drop-down for child categories yet (child categories should be searched along with the parent of it).



If anybody wants this beta version of it, pm me. I'm not releasing it to public yet as I don't think it's ready (even though I've gotten it down to 2 queries, 1 to weed out only the categories, and one for the names)

Also, there's a live demo of it on my website if you want to try it out first.
__________________
Powered By One-Theme: Wiflba, Our-Panel

I am not one of the One-Theme creators. I am simply here to help!

Last edited by mc2w; 08-24-2008 at 12:34 AM.
  #16 (permalink)  
Old 08-24-2008, 04:28 AM
Lee's Avatar
Lee Lee is offline
One Theme Support
 
Join Date: Jul 2008
Posts: 420
Send a message via MSN to Lee Send a message via Skype™ to Lee
Default

Great work mc2w, quite a handy feature
  #17 (permalink)  
Old 08-24-2008, 02:21 PM
mc2w's Avatar
Senior Member
 
Join Date: Jul 2008
Posts: 314
Send a message via AIM to mc2w Send a message via MSN to mc2w
Default

Heh, just thought of a few reasons why it's not suitable for public release:
Stores ALL terms (including tags) into an array, so that's a problem. Also, it displays categories that have no posts in them, so those seem to be pointless. Lastly, I haven't figured out how to display categories in alphabetical order.

I'm trying to find the wp_list_categories function so I can see how wordpress pulls categories from the database, and hopefully cleanse my plugin.
__________________
Powered By One-Theme: Wiflba, Our-Panel

I am not one of the One-Theme creators. I am simply here to help!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Search Suggestion mc2w Suggestion Box 2 08-17-2008 04:43 PM


All times are GMT. The time now is 11:13 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0