Database Interaction

Permalink
Hi People,

I've just started looking at concrete5 and have started a "hosted demo". Lets say I have a large product database. I want to either:
- load the database into concrete5, so I can display it, or
- let concrete5 read the database, displaying fields on a page, or
- access the source code of a page, so I can insert my own php commands to access the databse.
Is any of this possible? If so, how?
Really basic question I would have thought, but I can't find anything about it.

Cheers,
Grumble.

 
ScottC replied on at Permalink Reply
ScottC
then pay special attention to: http://www.concrete5.org/help/building_with_concrete5/developers/mv...

You can find several examples of this under the concrete/single_pages concrete/controllers/ and concrete/models for the whole flow of it.
grumble replied on at Permalink Reply
Thanks for the prompt reply. Attempting to follow your instructions, I went to
http://www.concrete5.org/help/building_with_concrete5/developers/mv...

Following the directions here, from the "website view", home page, I clicked on the control "add page". I named the page product_list.php.

Then, in the dashboard->pages and themes->single pages->Add single page, I typed "product_list" (without the ".php" as instructed) and clicked "add".

I get the error:
" The following errors occurred when attempting to process your request:
* That specified path doesn't appear to be a valid static page."

Adding the ".php" doesn't help. So what did I do wrong?