Wednesday, January 19, 2011

How to Add/Edit Search Drop Down

This may be useful for sites that have a lot of IDM categories. 

By default, the search only shows four categories at once in the drop down. There may be times when you only want to search a few categories but the small drop down box is difficult to navigate. It is easy to change this with a small skin edit. :)

ACP > Look / Feel > Skin Manager > (edit skin) > Edit Template HTML > Skin Downloads > Search Form

Find...

<tr>
   <td width='20%' align='right' valign='top'><strong>{$this->ipsclass->lang['search_category']}<
/strong><div class='forumdesc'>{$this->ipsclass->lang['search_cat_extra']}</div><
/td>
   <td align='left'><select name='search_cat[]' multiple='multiple' size='4'>{$cat_options}</select></td>
  </tr>


Replace with...
<tr>
   <td width='20%' align='right' valign='top'><strong>{$this->ipsclass->lang['search_category']}<
/strong><div class='forumdesc'>{$this->ipsclass->lang['search_cat_extra']}</div><
/td>
   <td align='left'><select name='search_cat[]' multiple='multiple' size='10'>{$cat_options}</select></td>
  </tr>


Screen shots (before and after)

http://img.photobuck...nd_search_1.png

http://img.photobuck...nd_search_2.png

:)

No comments:

Post a Comment