Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Overwrite field.html.twig
· 11 years ago
Okay, thanks.. will play around a bit more.. what you suggest is the setup i have now, but still my form fields in the admin section look different than they used to. I did a clean install of the form
-
Overwrite field.html.twig
· 11 years ago
Yes, put the customized files in user/themes/yourtheme/templates/forms/, they will be overridden only in the frontend.
-
Overwrite field.html.twig
· 11 years ago
Hi, I have been playing with the form plugin, and didn't like the way it structured the fields in the form, hence I tried to overwrite them. First I just replaced the field.html.twig/form.html.twig in
-
How would I find the grav page folder that has the most recent file?
· 11 years ago
Here is the code that links the image to the gallery. {% set newest_image = '' %} {% set newest_image_timestamp = 0 %} {% set newest_image_folder = '' %} {% for album in page.find('/photography').chi
-
How would I find the grav page folder that has the most recent file?
· 11 years ago
Thanks again @rhukster. I will work with this and try to pull the grav page name too so i can make a link to the album. I will post my code when done but I am away right now. This would be a good pl
-
How would I find the grav page folder that has the most recent file?
· 11 years ago
this is a little tricky because the latest media modification date is not trickled up into page, so you have to go digging to get it. Read through it and it should make sense what it's doing... This
-
How would I find the grav page folder that has the most recent file?
· 11 years ago
I want to have a most recent photo feature on my homepage. {% for p in page.find('/photography').children.order('date', 'desc').slice(0, 1) %} The above code finds the most recent page in a blog but w
-
The number zero in headers
· 11 years ago
The quotes worked. Thanks alot.
-
The number zero in headers
· 11 years ago
This is just a matter of how YAML works. If you add a numeric value without quotes, it will assume you are adding an integer so it converts 001 to 1. You probably need to just wrap it in quotes so th
-
The number zero in headers
· 11 years ago
I'm having an issue with the number zero in headers. I have a list of items who need to have 3 digits associated with them. They range from 001 to over 100. Every number starting with a zero is giving