Need help creating searchable data (5.6.3.4)
PermalinkDo I create a table within the site's database to hold all the data (therapist's name, phone, state, etc.)? Or does it need to go somewhere else?
Once I've got the data entered (somewhere), how do I connect the form on the page to it?
A step-by-step guide on how to do this would be really helpful, I've never tried to do it with concrete5 but it's a function I'd like to use for a lot of things if I could figure out how to do it. I've searched the documentation and the forums here, but not found the info.

1) Use Page Attributes to house the information.
For this option you would add the Page Attributes for all of your information and then use Composer to create pages for each therapist. You could then use the PageList model to gather and filter the information for your search.
2) Create a database table to house the information.
For this option you would need to create a package and in the package you would put a db.xml file which would create your table in the database. You would then need to create one or more pages to enter the information into that database and the models to get/put the information. If you did it this way you would have to build more, but you would not be limited to using pages.
If you have questions or would like an example of either of these feel free to ask.
Which brings me to your response, hutman. Your option #2 sounds like what I need, and already gives me guidance on how to go about it (Aha! A package with db.xml file!) I would very much like to see an example of how to set things up via this method, thank you.
The problem I'm having right now is with the model files - I can't get them to work. When I go to the page, there is nothing there. It seems to be using the default page template, and none of the material in the model file. Do you have any pointers on using them? Thank you!
Tks.
i'ved opened the controler.php and tried to update version but it doesn't work