Posted by subu.purohit on March 7, 2011 at 7:41am
Hi
Does anyone know how to theme custom_search module with core search module? I Follow http://drupal.org/node/154137 and http://systemseed.com/blog/how-customise-search-box-drupal-6. it work perfectly with core search module but when I installed custom_search module then I am not able to control custom search type combo box?
Any help is much appreciated.
Thanks Subhash
Comments
please elaborate your requirement
please elaborate your requirement
Hi Abhishek thanks to reply.
Hi Abhishek thanks to reply. I am using openpublish2.3 for a movie publishing site. I require a seach block which will include a list of content types (artist,movie,events etc.) for filter searching. I googled for it and found that there is a module named "custome_search" which is perfect according to my needs. But I have to theme it according my site's UI. I created a function mytheme_preprocess_search_block_form(&$vars, $hook) in template.php and and copy search-block-form.tpl from search module to my theme directory.
I can rename submit button and also change textbox css but I could not style content select box because I dont know where from it is coming.
Thanks
Subhash
do you need to style your select box..?
if you need to do that there is a jquery component for that..i forgot the name..
Abhishek I need not only
Abhishek I need not only style select box but I also need to remove out divs of that style box. I want only form element not out side divs.
like:
"
ALL
"
But I am getting some extra divs around select box, text box and submit button in search block. One option is to copy html from browser with form tokens and paste it in search-form-block.tpl but in that case I need a content array for select box and I dont have that.
Thanks
Subhash
sorry no idea about that
sorry no idea about that