Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Aaron Dalton Regular
@Perlkonig · Joined 8 years ago · 144 posts · 3 topics · 28 reputation
Badges
Recent posts
-
Showing with A OR B tags from taxonomy
· 7 years ago
Scroll up and you'll see the basic example: https://learn.getgrav.org/16/content/collections#multiple-collections. Create the two collections, then iterate over the merge: <h3>Merged</h3>
-
Showing with A OR B tags from taxonomy
· 7 years ago
https://learn.getgrav.org/16/content/collections#collection-object-methods See Collection::merge($collection2)
-
Meta: description does not show up
· 7 years ago
What does your base template say? That's where head content would be added.
-
Newcomer evaluating Grav - Theme switching
· 7 years ago
I hear your frustration. Unfortunately I can't speak to why the developers did things the way they did. But I can confirm that the error you're seeing is indeed signalling a name mismatch. In your con
-
Newcomer evaluating Grav - Theme switching
· 7 years ago
Welcome! I'm glad you're not just giving up. Grav is an incredible CMS—certainly my personal favourite. If I'm understanding you correctly, when you download a new theme and switch to it, you have re
-
Remove jQuery (and other assets)?
· 7 years ago
Grav core doesn't need it unless you're using the debug bar (if I remember correctly). It's theme related.
-
SQLite integration in Grav
· 8 years ago
The sample code uses the tag projects, but in the default config, there's no such tag. Try using tag1 or tag2. I should change that in the README.
-
SQLite integration in Grav
· 8 years ago
What do you mean by "doesn't work"? I'd have to see your config files and twig.
-
Using twig elements in the rss feed
· 8 years ago
Notice how the title is pulled from the object item and not page.header. So start with item.author or item.header.author first. (Not tested.) You should read some primers on Twig and the Grav docs. It
-
SQLite integration in Grav
· 8 years ago
The SQLite plugin shows you the basics of accessing the data: see lines 8, 47, 48, 119–138. Then all you do is inject that data into twig variables. That's usually done via $this->grav['twig']->