Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Cannot read property 'forEach' of undefined
· 10 years ago
Try updating to latest admin and turning off the Remote Verify Peer setting in the advanced section of the system config.
-
Cannot read property 'forEach' of undefined
· 10 years ago
how about some example code?
-
Cannot read property 'forEach' of undefined
· 10 years ago
how to fix it ???Untitled
-
Does GRAV track date of post update/modification?
· 10 years ago
published_date is really intenteded for future publishing. ie. you create a post today, but set published_date for next week. it won't show up until that published_date is passed.
-
Does GRAV track date of post update/modification?
· 10 years ago
I would say that date is equal to modified_date when not set manually and equals to the file's last modified date on system.
-
Does GRAV track date of post update/modification?
· 10 years ago
@rhukster so we have: {{ page.header.date }} <- by setting manually date in header {{ page.header.modified_date }} <- its built in {{ page.header.publish_date }} <- its built in but it seems
-
Does GRAV track date of post update/modification?
· 10 years ago
Weird, it works now. Maybe I had some cache issues on server or browser side... Sorry for the noise This worked: {% set recentnews = page.collection({ 'items': '@ro
-
Does GRAV track date of post update/modification?
· 10 years ago
Hi, It's what I did at the beginning but it was not working either. Will test it deeper, maybe rsync impacted the datetime of the files too...
-
Does GRAV track date of post update/modification?
· 10 years ago
Or this: https://learn.getgrav.org/cookbook/twig-recipes#list-the-last-5-recent-blog-posts
-
Does GRAV track date of post update/modification?
· 10 years ago
As alternative, trying: {% set recentnews = page.collection({ 'items': '@root.descendants' }) .order('modifiedDate', 'de