Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Ben Bricker Member
@bbricker87 · Joined 9 years ago · 39 posts · 4 topics · 13 reputation
Badges
Recent posts
-
ReactJs with Grav
· 9 years ago
I've used it on some pages of a test project with Grav. I used a plugin called Grav Pages as Data to return the page data as JSON and then it made it pretty easy to work with in React. I used React i
-
File Upload Limit Won't Change
· 9 years ago
So I'm kind of at a loss here. Maybe I'm missing something, but I cannot get the file upload limit to change. I set it in the php.ini file and set it to unlimited in the admin. You can see the config
-
Problem with collection filtering on 'type' and 'dateRange'
· 9 years ago
@Genbrua: content: items: '@self.children’ limit: 8 order: by: date dir: desc pagination: true url_taxonomy_filters: true dateRange: start: 5/5/2014 end: 1/1/2020 Is that how your markdown file is st
-
CSS Image Loading
· 9 years ago
What does your blueprint file look like? Do you have a specific field for the hero image?
-
Blueprints issue?
· 9 years ago
I can't say I know how to do that with the blueprints. But if you aren't going to be changing the collection, you could use twig to get the information you need. Since the twig file will always be lin
-
Blueprints issue?
· 9 years ago
What does your twig file look like?
-
An exception has been thrown during the rendering of a template ("Array to string conversion")
· 9 years ago
Try {{ image|first.path }} or {{ theme_url ~ '/images/' ~ image|first.name }}. For some reason, I remember {{ image|first.path }} not routing correctly on subpages, so I included the second one. Both
-
Headers from API
· 9 years ago
I'm having trouble getting the header data using the API. I found this link in the docs, but I, unfortunately, can't figure it out. If anyone could point me in the right direction, I would appreciate
-
Get -recursively- all pages
· 9 years ago
You could use descendants instead of children. {% for item in page.collection({'items': '@self.descendants','order': {'by': 'date','dir': 'desc'}}) %}