 |

dimeco
User
Nov 12, 2008, 12:01 PM
Post #1 of 4
(461 views)
Shortcut
|
|
Shorter search box
|
Can't Post
|
|
In the search box plugin (not advanced link) it loads in every page, (search box) CATEGORY LIST (search button) Is there a way to totaly remove the category list from that "simple search"? From an SEO standpoint, its way too much added to the page. Amber
|
|
|  |
 |

Donna
Staff
/ Moderator

Nov 12, 2008, 1:27 PM
Post #2 of 4
(459 views)
Shortcut
|
|
Re: [dimeco] Shorter search box
[In reply to]
|
Can't Post
|
|
Hi Amber, Absolutely. Actually, by default, the category list isn't in the simple search. So... you'll need to track down the template you've got that displayed in, and just remove the category dropdown code. Try turning on "Template Debug Mode", then view the source of your page and it should tell you which file is controlling which section of the page. :) Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

dimeco
User
Nov 13, 2008, 7:35 AM
Post #3 of 4
(454 views)
Shortcut
|
|
Re: [Donna] Shorter search box
[In reply to]
|
Can't Post
|
|
Hi Donna, this is what threw me - It's apparently in the basic search box plugin page. Here's the original code:
<table border="0" cellspacing="0" cellpadding=3 width="100%" class="text"> <tr> <td class="bg_search_box"> <form action="$settings.searchurl$" method="get"> <input type="hidden" name="action" value="search"> <input type="hidden" name="keywordSearchFields" value="title, author"> <input type="text" name="keyword" size=12> <select name="categoryNum" style="font-size: 10px;"> <option value="">All Categories</option> $category.optionListForSearchEngineAsBranches$ </select> <input type="submit" value="Search Articles"><br><div class="advancedsearch_link"><a href="$settings.searchurl$">Advanced Search</a></div></td> </tr> </table> </form> I remove the "all categories" option I am guessing? Amber
|
|
|  |
 |

Donna
Staff
/ Moderator

Nov 14, 2008, 2:07 PM
Post #4 of 4
(452 views)
Shortcut
|
|
Re: [dimeco] Shorter search box
[In reply to]
|
Can't Post
|
|
Hi Amber, Dropdown menus are actually "Select" menus. So, to remove the entire menu, remove this: <select name="categoryNum" style="font-size: 10px;"> <option value="">All Categories</option> $category.optionListForSearchEngineAsBranches$ </select> Basically, everything between & including the <select> tags, and that'll make it go away. :) Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
|