Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Robert Member

@metbril · Joined 8 years ago · 49 posts · 11 topics · 3 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • Dynamically add taxonomy to header · 7 years ago

    Well, I took a look at the archives plugin and that wrote the adjusted taxonomy back to the page object. Just that simple. public function onPageProcessed(Event $event) { if ($this-&gt

  • Dynamically add taxonomy to header · 7 years ago

    I did some more testing... And I don't know what changed, but it's also not working locally. So now this is the situation. When accessing a collection through its route /blog (with collection @self.c

  • Dynamically add taxonomy to header · 7 years ago

    These are 3 example pages All 3 pages do work locally with MAMP, but not with the webhoster Collection 1 (Base, shows all items) content: items: '@page.children': /blog filter:

  • Dynamically add taxonomy to header · 7 years ago

    I have one B I G issue left.... This is working perfectly on the local MAMP setup. But when I apply the changes to my real website, The collection only returns items that have the type manually added.

  • Dynamically add taxonomy to header · 7 years ago

    It took some time to report back, but I have been able to get it working... Add the taxonomy to your site config (type in my case). Add the taxonomy to some pages. Add an event hook to my theme (plu

  • Dynamically add taxonomy to header · 7 years ago

    I want to dynamically inject a taxonomy into my page header, and use that when processing the page. More or less like the archive plugin does. However, using onPageContentRaw or onPageProcessed appear

  • Multi-Language - language via Browser · 7 years ago

    Look for user/config/system.yaml Or use the admin plugin settings panel.

  • Quick Tray link for new page · 7 years ago

    I have tried adding the custom modal, and that works fine. Nice tip. However, this does not solve my problem. The custom form still is a modal dialog, without it's own url in the admin panel. This is

  • Quick Tray link for new page · 7 years ago

    I would like to add a quick link in the admin panel to create a new page. It is possible to go to all pages by configuring /admin/pages. Has anyone found the link to directly create a new empty page o

  • onAdminSave() for setting route default override · 7 years ago

    @metbril: I think I figured it out… Bumping an old thread. I decided to do things differently. Now using the onPageProcessed event. This has no impact on performance and I don't need to manually crea