
Donna
Staff
/ Moderator

Sep 24, 2009, 4:25 PM
Post #7 of 9
(5423 views)
Shortcut
|
|
Re: [Harvey] Search function on mobile site
[In reply to]
|
Can't Post
|
|
Hi Harvey, No, it's not a widget, it's just plain HTML -- on an external search page like what you want to setup, the only part of it that's Article Manager is where the <form> tag goes. So, what you end up doing is leaving Article Manager out of it, and creating your own form. In that form, there are two important lines you'll need: <form action="/path/to/search.cgi" method="post"> <input type="hidden" name="template" value="searchEngine/mobileSearchResults.html"> The rest of the HTML is just regular form HTML. Make sure the names match up with the field names you're searching. If you want, you can just copy & paste the existing code from your current search page. Then, make a copy of the default search results template, and modify it to have the look & feel you want. Because of the line you added above, Article Manager will use this when it's generating the search results, instead of the default template. Does that make sense? If you're still having trouble, feel free to drop me an email at support@interactivetools.com with a link to what you've got so far and I can guide you from there. :) Donna -- support@interactivetools.com
|