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.

P. Fighter Member

@punchfighter · Joined 8 years ago · 41 posts · 24 topics · 1 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • Type: taxonomy field doesn't read current values · 8 years ago

    No, I've called it header.jombo (ridiculous nonsense word) exactly for that reason (to not cause collisions with existing variables). header.jombo: label: Tags type: taxono

  • Type: taxonomy field doesn't read current values · 8 years ago

    So, I have a custom field using the taxonomy type. When I enter information into the field and save the page, the header is updated with the correct values, but the field doesn't show the values saved

  • Uploaded image exists, not showing · 8 years ago

    I have a custom field in my page header, reserved for an image. The blueprint looks like this: header.image: type: file limit: 1 destination: 'self@' multiple: false accept:

  • Auto Refresh Page on change? · 8 years ago

    You don't need a plugin for that, just use straight JS: function get_page(url) { xmlhttp=new XMLHttpRequest(); xmlhttp.open("GET", url, false); xmlhttp.send();

  • Disabling admin panel completely for specific page template · 8 years ago

    I'm aware that I can customize page blueprints very precisely. However, Is there a way to completely disable the admin panel for specific page templates (removing the domain.tld/admin/pages/[page] lin

  • *.json.twig page not loading/showing up as page template · 8 years ago

    So, I tried creating a JSON page but I cannot assign a page to the template as the template simply doesn't show up in the admin panel or is recognized when loaded otherwise...

  • Using collection as options for select · 8 years ago

    Thanks. Your namespace seems to bork the thing, though. Declaring $grav absolutely, as $grav = \Grav\Common\Grav::instance(); does the trick. I think I need to brush up on namespace syntax because my

  • Using collection as options for select · 8 years ago

    How would I go about populating a page template select field with a collection?

  • [SOLVED] Removing page media from template · 8 years ago

    I tried adding the following to the blueprint after looking at the default page blueprint: form: fields: tabs: fields: content: fields: header.media_order:

  • [SOLVED] Renaming files on upload/referencing image uploaded in Twig · 8 years ago

    Is there a way to rename files uploaded via the admin panel? - Preferably to something like the page title or perhaps something hardcoded. However, what I really want to do is to upload an image via t