pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3203 posts · 17 topics · 1020 reputation
Badges
Recent posts
-
How to change the look in Quark as in the demo?
· 4 years ago
@TGD, I use the default Quark theme, which shows 4 different layouts in the screenshots. Not sure what you mean with "screenshots". I switch the page type to “Blog”, the photo background appears, a
-
How to use Modular (pages, content) in Grav?
· 4 years ago
@wmcig, I'm afraid your post is a bit confusing to me... May I suggest to download the One-Page Site skeleton and pay attention to: The folder structure */user/pages/01.home/* containing the modular
-
[SOLVED] Modular Carousel code is not defined in site
· 4 years ago
@wmcig, Instead of adding "SOLVED" to the title, please use the 'Solution' icon in the lower right corner of the reply that shows the solution, or leads to the solution.
-
Default Frontmatter for Modular Pages
· 4 years ago
@chraebsli, You haven't mentioned it, but may I presume pages are being edited using Admin? If so, add the frontmatter fields to blueprint user/themes/quark/blueprints/modular/hero.yaml and give the f
-
Add flex-object to existing flex-dir if not exists (from plugin php)
· 4 years ago
@assbach, This post seems to be drifting away from the initial question, which will lead to buried questions/answers, which: are hard to find for other users. cannot be marked as being 'solved'. I t
-
Disable cache on mobile phones
· 4 years ago
@sdesergi, When I make changes to a page with cache disabled, the changes are not displayed on mobile devices . From a desktop sometimes it also fails. I cannot reproduce this. On a fresh install o
-
Add flex-object to existing flex-dir if not exists (from plugin php)
· 4 years ago
@assbach, By the way, you're not the first doing this. Have a look at the Comments plugin to get some inspiration. It may give you some suggestions for performance and passing data to Twig. The only
-
Add flex-object to existing flex-dir if not exists (from plugin php)
· 4 years ago
@assbach, When using a yaml/json file, you'll need to load the file, parse it into an array, insert/append/remove item convert array to yaml/json save and override file. Grav has a File class wit
-
Add flex-object to existing flex-dir if not exists (from plugin php)
· 4 years ago
@assbach, I've been trying a few things and I give up... I expected the $key value in FlexDirectory::createObject($data, $key, ...) to be used as the key of the object entry. It doesn't seems to be li
-
Add flex-object to existing flex-dir if not exists (from plugin php)
· 4 years ago
@assbach, I didn't have a look at the implementation of a FlexDirectory::getObject(key) and FlexCollection::filterBy(), but my gut feel says that FlexDirectory::getObject(key) is an index lookup while