Is there a search.php file for CMSB?

5 posts by 3 authors in: Forums > CMS Builder
Last Post: May 18, 2016   (RSS)

By andreasml - May 14, 2016


I know that for earlier softwares like Realty Manager, there was a search.php file. Is there a similar file for CMSB?


Andreas ML

By ross - May 17, 2016

Hi Andreas

There isn't a specific code generator for search pages and what you do instead is code them by hand.

What you do first is simple build a static HTML page that has your search form on it. 

Does that make sense? Do you know how to create a simple HTML page that has a form on it?

Let me know any questions or feedback.


Ross Fairbairn - Consulting

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting:

By Damon - May 18, 2016

Hi Andreas,

At the top of your page in the // load records make sure you have allowSearch set to true

'allowSearch' => true,

Next, you will probably be searching for keyword instead of a complete match so you need to add _keyword to your field you are searching.
Example: title_keyword

<form method="POST" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<input type="text" name="title_keyword" value="" size=100>
<input type="submit" name="submit" value="Search">

Here is some reference for all the things you can do with searches:

Let me know if you have any other questions.

Damon Edis -

Hire me! Save time by getting our experts to help with your project.

By andreasml - May 18, 2016

Hi Damon.

Now it works!! Thank you  a lot. 

Kind regards