Tutorial: CMS Builder Search Engine (Outdated, See Docs for Searching)

10 posts by 4 authors in: Forums > CMS Builder
Last Post: November 1, 2008   (RSS)

By Dave - December 11, 2007 - edited: January 21, 2008

I don't think it's been mentioned, but building a search engine to search a specific section of your website is very easy with CMS Builder.

If anyone has a search engine they want to build just post and I'll help you out with it.

Update: This is now outdated. Searching is now built in. See this doc page: http://www.interactivetools.com/docs/cmsbuilder/viewer_search.html
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Tutorial: CMS Builder Search Engine

By aev - December 12, 2007

Hi Dave!

I have just finished building our first CMS Builder site, and I don't need searching for that site, but I would love to have a tutorial on this, and try it out on a "localhost demo site". This why I can be certain of the possibilities/limitations of this before promising anything to the next CMS Builder customer.

-aev-

Re: [Dave] Tutorial: CMS Builder Search Engine

By Dave - January 11, 2008

Update, this is now all automatic in v1.07. All you need is to make a search form. Use "myfieldname_match" for exact matches and "myfieldname_keyword" for keyword matches.

<form method="get" action="<?php echo $_SERVER['PHP_SELF'] ?>">
Keyword: <input type="text" name="myfield_keyword" value="" size="15">
<input type="submit" name="" value="Search">
</form>

Dave Edis - Senior Developer
interactivetools.com

Re: [aev] Tutorial: CMS Builder Search Engine

By Theo - January 21, 2008

Here's a link to CMS Builder's search engine docs:

http://www.interactivetools.com/docs/cmsbuilder/viewer_search.html
Theo Wiersma

Re: [Dave] Tutorial: CMS Builder Search Engine

Hi, Dave.

Do you have any sample code for getting the matching results to appear on the listViewer.php (results) page?

Thanks.
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net

Re: [NigelGordijk] Tutorial: CMS Builder Search Engine

By Dave - October 30, 2008

Hi Nigel,

If you start with a page that lists "all" the results, the search engine will just filter those. So use a regular list page, and then point your search form at that.

Hope that makes sense, let me know if you need more details.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Tutorial: CMS Builder Search Engine

Hi, Dave.

I actually needed the tags that displays the results on a search results page. I have a search form on this page that goes to the results page when you click on the submit button: http://www.satoa.com/membersList.php. However, I don't know what to put in the results page code - http://www.satoa.com/listViewer.php - so that the matching results are shown.

Regards,
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net

Re: [NigelGordijk] Tutorial: CMS Builder Search Engine

By Dave - October 31, 2008

Hi Nigel,

Start by making this page list "all results":
http://www.satoa.com/listViewer.php

Then it should work. Let me know if you're still having trouble once you get that page displaying all results.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Tutorial: CMS Builder Search Engine

Thanks, Dave. I've got it working perfectly! :-)
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net