Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Database Plugin

plugins

Started by Klaus Essbach 4 years ago · 4 replies · 813 views
4 years ago

How is it possible to display data with the database plugin? The examples refer only to php files

4 years ago

Would you mind elaborating? Preferably with links and examples of what you've tried

4 years ago

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...

4 years ago

But you also have a Twig/HTML example right there in the README

4 years ago

If only someone had invented some way to "link" one "page" to another.... 🤔

👍 1

Suggested topics

Topic Participants Replies Views Activity
Plugins · by complanar, 6 days ago
6 263 2 days ago
Plugins · by BenLaKnet, 3 days ago
1 95 3 days ago
Plugins · by complanar, 4 weeks ago
2 415 3 weeks ago
Plugins · by Vladimir Novak, 2 months ago
3 706 2 months ago
Plugins · by Mathieu Lecouturier, 2 months ago
3 545 2 months ago