How to create a site search?
9 posts by 4 authors in: Forums > CMS Builder
Last Post: March 13, 2009 (RSS)
Please note, this is my first time with PHP!
Joe
Re: [Moonworks] How to create a site search?
By Dave - November 10, 2008
Have a look at the search docs page here:
http://www.interactivetools.com/docs/cmsbuilder/viewer_search.html
Give it a try and let me know if you have any questions.
interactivetools.com
Re: [Moonworks] How to create a site search?
By Moonworks - November 10, 2008 - edited: November 10, 2008
Just took a look. Is there a simple example of code I can put in to create the searchg box, ready for the user to type into?
Re: [Moonworks] How to create a site search?
By Dave - November 11, 2008
<form method="POST" action="/path/to/your/listViewer.php">
<input type="text" name="title,content,other,fields,you,want,searched_keyword" value="">
<input type="submit" name="submit" value="Search">
</form>
interactivetools.com
Re: [Dave] How to create a site search?
Re: [Dave] How to create a site search?
Yes, but it's section specific - not site wide.
Hi Dave,
I have got the search to work on one section without a problem. Is there anyway to make it search multiple sections?
Cheers,
B
Re: [benedict] How to create a site search?
By Dave - February 10, 2009
Yes, have a look at this post and the attached file:
http://www.interactivetools.com/forum/gforum.cgi?post=61466#61466
Hope that helps!
interactivetools.com
Re: [Dave] How to create a site search?
By sidcam - March 13, 2009
I'm using this search form on my site and it does the search and finds the records ok. But on submit it doesn't load all the table information leaving much of the page blank. What am I doing wrong?
http://www.stlagent.com/newsite/blogs/kimberlys-corner/index.php
Thanks
Sid
Re: [sidcam] How to create a site search?
By Dave - March 13, 2009
When you submit a search for one table the other viewers on the page are probably automatically applying it to themselves as well. To make a viewer ignore search terms add this option:
'allowSearch' => false,
Hope that helps, let me know if you need more details on that.
interactivetools.com