Search whole site content

8 posts by 4 authors in: Forums > CMS Builder
Last Post: June 24, 2014   (RSS)

By claire - June 17, 2014

Hi Jac

Sorry for the late reply, this is a tricky one. As far as I know it'd be very difficult to implement. I'm going to refer it to one of the senior programmers here, they might have an answer for you.

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By Dave - June 17, 2014

Hi Jac, 

Unfortunately, there's no built in functionality to search all the database tables and HTML pages on a site.  

CMS Builder supports creating custom searches for a specific section as shown in the docs here: 
http://www.interactivetools.com/docs/cmsbuilder/viewer_search.html

For searching the entire site you could check out a free Google Custom Search engines, or custom PHP programming to search multiple mysql tables and output results.

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com

By esupport - June 19, 2014

Hi Dave

I tried to figure it out.

Still don't understand below table meaning.

https://nimbus.everhelper.me/client/notes/share/35111/iK6mf3ZEFKU4SpWL8itbJWVGJZdqHTTe/

On my first post.

If I want to search product and news section.

What do I need to change the code?

or

Do you have any sample code for reference?

Thanks a lot!

-Jax H.

By Dave - June 19, 2014

Hi Jac, 

You can't search multiple sections, but as an example, if you wanted to show all the products from a section that contained the term widget you could use an url like this:

http://www.example.com/products.php?name_keyword=widget

Or create some search input fields, but it won't let you search multiple tables at the same time.

Dave Edis - Senior Developer
interactivetools.com

By esupport - June 23, 2014

Hi Dave

There are 3 sections  on my site : news, event, promotion news.

Do you mean only a section can be searched?

If I hope to search multiple sections.  I need to create other input fields.

Is it correct?

-Jax H.

By mizrahi - June 23, 2014

imo, the google custom search engine is the way to go. it's significantly more powerful out of the box then the multisearch approach. multisearch has it's place, but as soon as you go beyond searching a few sections, it starts showing it's limitations. 

https://www.google.com/cse/

If you can live with the ads, it's free. Otherwise, the paid version is more than reasonable. It's also free if the organization is a non-profit (501c3). Take a look www.jhf.org for a site that's running CMS builder, but uses google for the search engine. 

Jason

By esupport - June 24, 2014

Hi Jason there

Thanks for the suggestion.

There are some of PHP search code template.  

Like this : 

http://www.youtube.com/watch?v=PBLuP2JZcEg

http://www.youtube.com/watch?v=Tzuuh6wSijo

If we want to use the code on cmsbuilder.

Would it occurs error?  cmsbuilder accept the PHP code?

Thanks.

Jac

-Jax H.