Searching CMSB Content

5 posts by 2 authors in: Forums > CMS Builder
Last Post: March 17, 2008   (RSS)

By InHouse - March 17, 2008

I'm obviously having a slow-brain day here, but I'm not having much luck with a content search function.

I think I'm missing how the search form's content is being passed to the CMS engine and then generates a results page.

Goal: standard 'search now' form (text box with button) is needed on every page. User enters a search term and all 'content', 'summary' and 'title' fields in selected tables are searched.

Output: new page with list linked headlines (ViewPage style). Links should point to the found article's normal display page.

I've read the search function docs and some related posts but I'm obviously still not quite on board.

Can you please point me in the right direction?

Best wishes,
Jayme

Re: [InHouse] Searching CMSB Content

By Dave - March 17, 2008

Try creating a search for like this that posts to your list page. Something like this:

<form method="POST" action="/path/to/your/listViewer.php">
<input type="text" name="title,summary,content_keyword" value="">
<input type="submit" name="submit" value="Search">
</form>


Give that a try and let me know if it works.
Dave Edis - Senior Developer
interactivetools.com

Re: [InHouse] Searching CMSB Content

By Dave - March 17, 2008

Do you have a 'where' option specified for your list viewer (that overrides that search forms). Otherwise, can you post an url to your list page? Usually we can test the searching just by adding keywords on the end of the url.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Searching CMSB Content

By InHouse - March 17, 2008

I've sent you PM with the URL Dave.
Thanks!
Jayme