Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

pamtbaau Legend

Grav Forum Moderators

@pamtbaau · Joined 8 years ago · 3197 posts · 17 topics · 1020 reputation

Badges

Grav Core Team ModSquad Team Member ✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • 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.

  • Page collection is empty when in admin panel · 6 years ago

    @MartinBekec, In which event are you checking the existence of the page? When I hook up to event onPagesInitialized and check for $event['pages'] I get to see all available pages.

  • Ordering blogposts by publishing date · 6 years ago

    @werdi, I cannot reproduce what you are seeing. And because I cannot see what is happening in you system, it is bit useless for me to continue digging... At the moment I do not see any role of 'publis

  • Ordering blogposts by publishing date · 6 years ago

    @werdi, That is not my experience... When I set the date in each page, via an editor or through the Admin plugin, their values do not change after saving the page later on. The date is only cleared (a

  • Ordering blogposts by publishing date · 6 years ago

    @werdi, I believe the OP of the other post, does not set the date value in Admin manually. In that case, Grav will use the default 'modify date' as the date for that page. Therefor the ordering change

  • Ordering blogposts by publishing date · 6 years ago

    @werdi, According the docs: The date variable allows you to specifically set a date associated with this page. This is often used to indicate when a post was created and can be used for display or

  • Ordering blogposts by publishing date · 6 years ago

    @werdi, I don't think there is a European standard date format. Some use dd-mm-yyyy and others like Germany use dd.mm.yyyy' The ISO standard is yyyy-mm-dd I haven't finalised debugging it, but it see