Creating a Search Feature
2 posts by 2 authors in: Forums > CMS Builder
Last Post: November 30, 2009 (RSS)
By rochoa - November 30, 2009
I have a question about getting started on building a search for my website. I'm starting with this code that I've pieced together from other post...
<form method="POST" action="../results/result.php">
<input type="text" name="title_keyword,content_keyword" value="">
<input type="submit" name="submit" value="Search"></form>
Does there need to be anything else on the page to help this work? I'm confused as where to go from here. What all needs to be on the result.php page that I build?
Please help...
<form method="POST" action="../results/result.php">
<input type="text" name="title_keyword,content_keyword" value="">
<input type="submit" name="submit" value="Search"></form>
Does there need to be anything else on the page to help this work? I'm confused as where to go from here. What all needs to be on the result.php page that I build?
Please help...
Re: [rochoa] Creating a Search Feature
By Chris - November 30, 2009
Hi rochoa,
The default list page which the CMS Builder Code Generator builds for you will automatically allow searching. You can then create a form (such as the one you've posted above) to link to that page and specify keywords to search for.
I hope this helps. Please let me know if you have any questions.
The default list page which the CMS Builder Code Generator builds for you will automatically allow searching. You can then create a form (such as the one you've posted above) to link to that page and specify keywords to search for.
I hope this helps. Please let me know if you have any questions.
All the best,
Chris
Chris