 |

Kimber
User
Aug 13, 2008, 8:07 AM
Post #1 of 5
(5328 views)
Shortcut
|
|
search box question
|
Can't Post
|
|
Hello, I want to leave in the search components because I am using related article however I like to take out the search box itself from the top of the pages because I want to replace it with a search box for google adsense so I can have a multi-side search. However I can’t figure out what codes to take out on the articleLists/globalIndex.html and articlePages/articlePage.html I tried searchEngine/searchForm.html But that is only the advance search. Can you please advice? Thanks, Kimberly
(This post was edited by Kimber on Aug 16, 2008, 2:00 PM)
|
|
|  |
 |

dan_999
User
Aug 14, 2008, 2:53 AM
Post #2 of 5
(5284 views)
Shortcut
|
|
Re: [Kimber] search box question
[In reply to]
|
Can't Post
|
|
I've probably changed my templates quite a bit but you should have something like this in your code which will bring the search box in: <!--#include virtual="$published.searchbox.webpath$" --> If you remove that line and re-publish all then you shouldnt have the search box appear anymore. Alternatively, you could edit this page: /templates/singlepages/basicsearchbox.html And replace that with your Google search box code, that way you don't need to edit any of your other article or category pages. Just make sure you take a back up first so you can revert back later should you need to. Dan Hartlepool
|
|
|  |
 |

Donna
Staff
/ Moderator

Aug 14, 2008, 11:50 AM
Post #3 of 5
(5245 views)
Shortcut
|
|
Re: [Kimber] search box question
[In reply to]
|
Can't Post
|
|
Hi Kimber! Dan's answer is dead on -- thanks Dan! :) 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.
|
|
|  |
 |

Kimber
User
Aug 16, 2008, 1:59 PM
Post #4 of 5
(4658 views)
Shortcut
|
|
Re: [dan_999] search box question
[In reply to]
|
Can't Post
|
|
Found it - it is in the singlePages/siteHeader.html - - - - - - Thanks but I am still having problems. I can't find <!--#include virtual="$published.searchbox.webpath$" --> no matter how many times I search. I have put the codes on word pad and search for searchbox and can't even find that. And /templates/singlepages/basicsearchbox.html is in a zip file called classic.zip I even pulled that /templates/singlepages/basicsearchbox.html out of the zip file and put in the search folder which did nothing so plus I tried editing it in the zip files but nothing takes away the search box. Any other ideas? Thanks Kimberly
(This post was edited by Kimber on Aug 16, 2008, 2:51 PM)
|
|
|  |
 |

Jake
Staff
/ Moderator

Aug 17, 2008, 7:00 PM
Post #5 of 5
(4407 views)
Shortcut
|
|
Re: [Kimber] search box question
[In reply to]
|
Can't Post
|
|
H Kimberly, Donna and Dave's advice is for the "classic" template site in Article Manager. We should have mentioned this, but if you're using Article Manager's default templates, you need to remove this code from the "siteHeader.html" template in the /singlePages directory:
<form class="search" method="post" action="$settings.searchurl$"> <p><input type="hidden" name="action" value="search" /> <input class="textbox" type="text" name="keyword" value="" /> <input class="button" type="submit" name="Submit" value="Search" /><br/> <a href="$settings.searchurl$">advanced search</a></p> </form> Once you do that, you'll want to republish your site's header under Admin -> Publishing. That will remove the search box from the top of your pages. Sorry about that Kimberly! ----------------------------------------------------------- Cheers, Jake Swanson - Product Specialist support@interactivetools.com
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.
|
|
|  |
 | |  |
|