• 0
Sign in to follow this  
Followers 0

Search Form Customization

Question

Posted · Report post

Hi, I've been reading up a bit on this but I'm kinda worried about messing my site up. I took a php class about a year ago and I was never very good at loops. I am remaking the website for my library (also my job) for free on my own time. We have a special search that search our site, other sites, and the large library system we belong too. So It needs to have several options in a drop down list that each changes the url that is searched. I tried editing the searchform.php url but it didn't work for me at all. Personally I'd like to somehow just paste our current form right in but it's just a basic form html/css. Is that possible without messing up the wordpress functionality? This is the site I'm copying it from: http://wppl.lib.ny.us/ This is what I believe is the entire form info:

	
The White Plains Public Library Catalog by keywordCatalog by authorCatalog by titleCatalog by subject360 SearchLibrary WebsiteWikipedia Advanced Catalog Search

Thanks of course.

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Posted · Report post

Hi Ryan, Since this is separate from the core WP search functionality, I would recommend placing it in its own custom template. Of course, you would have to make sure that existing files were properly brought over into WP. For instance, there's on "onSubmit" function: you'll have to make sure that the JS file that's contained in is correctly pointed to from within the theme.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

So I shouldn't somehow do this in "functions" under the base theme? I'm a real n00b and I'm not sure what doc to edit. I took one php class and everything I built from scratch not using anyone else's setup files. So it was straight forward and I knew where everything was supposed to be edited. The search for this comes from the searchform.php in platformpro theme even when workign in the base theme correct? I thought when working from base you only edit inside base which overrides pro? You're saying I have to add this directly to the wordpress install? Thanks

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Ryan, this one involves customization of WordPress functions that go beyond the searchform.php in the theme. I'd suggest you engage one of our pros for this as it's way past the scope we can provide in the forum. http://www.pagelines.com/pros

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0