pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3185 posts · 17 topics · 1019 reputation
Badges
Recent posts
-
What is the best way to work with dynamic images?
· 8 years ago
@gen035 Thanks for the clarification. Looking at the code snippet from your first post I notice there are a few syntax issues. Quoting the Twig docs: The first filter returns the first "element" of a
-
How to get only translated pages in collection?
· 8 years ago
Nice find! Thanks for sharing your solution...
-
How to get only translated pages in collection?
· 8 years ago
@javiregpa Not sure if this will do what you want, but I recall the following related setting in '/user/config/system.yaml': languages: translations_fallback: true # Fallback through supported t
-
How to remove the logo and footer of Quark?
· 8 years ago
@DonaldTrump The original poster wanted to remove the logo instead of replacing it and wanted to remove the footer. Therefor the original template had to be customised. When customising original code
-
How do add a Background Image in Grav?
· 8 years ago
@DonaldTrump Using your <NAME> as filename for the background image, the following files/locations should be used: The reference to the image file should be defined in '/user/config/site.yaml',
-
How do add a Background Image in Grav?
· 8 years ago
@donaldtrump I have added a little advise in my answer: Although it is not likely that the theme will be updated by the authors, changes you make to a template can best be done in an inherited theme.
-
TwentyFifteen date format
· 8 years ago
@SjoerdSmeets I believe the solution is mentioned in the issue itself on GitHub. To rephrase the proposed solution: Open file '/user/themes/twentyfifteen/templates/partials/blog_item.html.twig' and re
-
How do add a Background Image in Grav?
· 8 years ago
@DonaldTrump I haven't worked with Gateway but did take a look for you... Header image not shown Did you install the skeleton or the theme only? The skeleton is working perfectly OK, but I can imagi
-
Javascript accordion for blog posts, assigning div id
· 8 years ago
@adamburton Glad to hear the push was indeed in the right direction for you... Thanks for pointing out the omission of the single quotes required in the function call. I've corrected the example. With
-
Javascript accordion for blog posts, assigning div id
· 8 years ago
@adamburton The problem is indeed what you have found yourself: uniqueness of the accordion identifiers. So, you are not that far off... In Twig you can access several properties of each blog item, f