How is it possible to display data with the database plugin? The examples refer only to php files
Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Would you mind elaborating? Preferably with links and examples of what you've tried
Hello Karmalakas,
i have the PDO-Configuration in PHP, the configuration in user/config/plugins/database.yaml as described at GitHub. In the Usage-description with Ad-Hoc connections and Configured connections are only description with php-Files. My problem is to understand how the data is displayed in grav (i think i need a md-file to display that). It is not possible to show the data only with php-files i think.
Where is the trick?
Thanks...
But you also have a Twig/HTML example right there in the README
If only someone had invented some way to "link" one "page" to another.... 🤔
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 2 | 43 | 1 week ago | ||
| 2 | 54 | 4 weeks ago | ||
| 3 | 1181 | 1 month ago | ||
| 1 | 48 | 1 month ago | ||
| 3 | 73 | 2 months ago |