pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3133 posts · 12 topics · 1012 reputation
Badges
Recent posts
-
I need help with modular pages and custom blueprints
· 6 years ago
@patrick20, The blueprint 'default' to extend from is already defined by Grav in '/system/blueprints/pages/default.yaml' The suggestion from @arkhi to replace 'yml' with 'yaml' does indeed make a diff
-
I need help with modular pages and custom blueprints
· 6 years ago
@patrick20, Welcome to the forum. Hope you will be going to enjoy Grav! There are a few issues with the setup. You are not using the default English language, but German. Therefor you will have to d
-
Create collection based on page routes
· 6 years ago
@pickettj, If I understand the question correctly, a combination of the following two features of Page Collections might provide you the desired result: A collection of pages specified by their route.
-
Page collection is empty when in admin panel
· 6 years ago
@MartinBekec, Seems we have overlooked the migration docs 1.6 -> 1.7 which has a section on breaking changes for Admin plugins: BC BREAK Admin will not initialize frontend pages anymore, this has
-
Page collection is empty when in admin panel
· 6 years ago
@MartinBekec, Interesting... When using Grav v.1.7 only null or [] values returned... Maybe, opening an issue on Github might be an idea?
-
Ordering blogposts by publishing date
· 6 years ago
@werdi, I still don't understand what publish_date has to do with it, except... When you save a page which has only publish_date set, you update its modified_date. Since your ordering is dir:desc, pag
-
Page collection is empty when in admin panel
· 6 years ago
@MartinBekec, Yes, I did... Although it makes no difference for the results, I declare the events via: public function onPluginsInitialized() { // Don't proceed if we are in the admin plugin i
-
Page collection is empty when in admin panel
· 6 years ago
@MartinBekec See result of my code: public function onPagesInitialized($event) { $page = $event['pages']->find('/typography', true); // $page contains a Page object of page '/typography' $
-
Ordering blogposts by publishing date
· 6 years ago
@werdi, Respect! it is very brave to admit that in public... ;-) But you do know your way with Git itself, do you???
-
Ordering blogposts by publishing date
· 6 years ago
@werdi Is there a github repo I could clone to test? You can DM me the link if you would like to keep it private.