pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3137 posts · 13 topics · 1013 reputation
Badges
Recent posts
-
Display all image files in the user/images/gallery/subdirectory
· 5 years ago
@q3d, If I have image arrays it will basically generate any HTML structure for itself. No, you will have to loop the array in Twig and create <img> elements using: {% for image in page.find('/
-
Display all image files in the user/images/gallery/subdirectory
· 5 years ago
@q3d, Have a look at the docs on Where to put your files If you put your image folders below /user/pages/, you can get an array of images in Twig using page.find('/gallery/2021/28-09').media If you do
-
How to put two sliders on a page
· 5 years ago
@jefrey, One could try two approaches to show multiple galleries on a single page: Refactor Lightslider to make it show two different galleries. I have no idea how to do that... Or placing two Lights
-
Is there a guide about macOS Monterey Multiple PHP Versions?
· 5 years ago
@Chiara, See latest 4 new blogs on macOS Monterey...
-
Turning off Admin in production
· 5 years ago
@gcasalett, You might want to have a look at the Git Sync plugin. Git Sync is a Plugin for Grav CMS that allows to seamlessly synchronize a Git repository with your Grav site, and vice-versa. You co
-
Does anybody know why Grav developers chose Flexbox over CCS Grid?
· 5 years ago
@joejac, My 2 cents of speculation... For what it's worth because only the dev team knows... The question about the supposed choice made by the Grav devs for Flexbox over CSS Grid is IMHO invalid. Th
-
Call to a member function getName() on null when uploading images
· 5 years ago
@tunkila, There are a few issues on Gravs repo about uploading, but they confuse me... Especially this on from May 2021: File upload fields on page blueprints #3363. OP is using file field in Page bl
-
Call to a member function getName() on null when uploading images
· 5 years ago
@tunkila, I can reproduce the issue... However, the docs on field file give a clear warning to not use the field file for pages. The file field is intended to be used by configuration , theme , and p
-
Head Tag splittet by Body Tag / Quote in Front of Link Tags
· 5 years ago
@muesli, I presume you've upgraded Grav from 1.6 to 1.7. Have you checked the upgrade guide before upgrading? It seems you have bumped into the first item in the Most common issues section.
-
Nested pages parent/child/child
· 5 years ago
@ctuxboy, What are the access paths you are going to provide the user? If the user only traverses down provincie -> antwerpen -> ravels -> dogparks, you would loop page.children() inside Tw