Re: Camera Market
Hi Kmaisch,
Your website looks nice and clean!
It also gave me a chance to check out the Search form since I am paying attention to that with the site I am developing.
After some experimentation with the search form on your site and on my test site I decided to get rid of the "What are you searching for? " default input value. If the input form does not have this in there then your search gets much better and can do more things.
For instance Kmaisch-- if a user thought they could use the search function to simply sort out "SLR Cameras" in "Victoria" they cannot do this by default because the search will inject the "What are you looking for?" default string into the search parameters. And any text you do put into that input field to remove the "What are you looking for?" gets added into the search string which can immediately invalidate the search if not careful.
I imagine when you DO have SLR cameras in Victoria that you would want the Search to be able to show the option of any category that is listed in a certain state or territory.
I removed every input reference even though only the first one is needed to get rid of the "What are you looking for?" This is what I have now done with my search form. The line I changed is the <input...........
Code:
<form action="<?php bloginfo('url'); ?>/" method="get" id="searchform" class="form_search">
<input name="s" type="text" id="s" value="<?php _e('','cp'); ?>" onfocus="if (this.value == '<?php _e('','cp'); ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e('','cp'); ?>';}" class="editbox_search" />