Accessing a second database to display information through PHP
Permalink
I need to have an archive of PDFs.
I will set up a database (or even just a single table) with information and locations for the files.
What is the best way to integrate the PHP calls into an existing C5 page?
I will set up a database (or even just a single table) with information and locations for the files.
What is the best way to integrate the PHP calls into an existing C5 page?
first of you don't need a second database, just add another table to main db.
and about creating data grid at the dashboard it's pretty easy, you can check codes for other dashboard single pages already have grid, like search users.
and about creating data grid at the dashboard it's pretty easy, you can check codes for other dashboard single pages already have grid, like search users.
Jordan Lev has created a demo CRUD package with dashboard: entry.https://github.com/jordanlev/c5_boilerplate_crud.
If you have another datastore and need to integrate, you'll need to setup a connection string with the same parameters that you'll find in the C5 config.php file.