Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

hughbris Veteran

Regular

Grav Forum Moderators

@hughbris · Joined 9 years ago · 581 posts · 14 topics · 127 reputation

Badges

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

Recent posts

  • Twig and media paths · 4 years ago

    @backit: because averytime i add an image you have to clear the f…ing cache!!! I recommend setting up an environment more suitable for developing and debugging. Cache behaviour can be tweaked per env

  • Remember entered tags · 4 years ago

    @edi0th: he told me that when he saved tags in a first article, they were not re-proposed when he created a new page. Do you know why? Hmm, just a guess: are you using different browsers? This has "a

  • Buildin staff page · 4 years ago

    @Karmalakas: I would do just a simple array in page frontmatter I would do it that way, too. Another way is to create a modular page for each staff member. If there was a requirement for a page per s

  • Twig and media paths · 4 years ago

    @backit: {% set image_url = page.find('/images').media['myphoto.jpg'] %} and in user/pages/images i put the image myphoto.jpg, but image_url is blank! What am i doing wrong?? You have set image_url t

  • Ordering children pages by custom date field · 4 years ago

    OK glad you solved it. @edi0th: so the ordering is not good It was obvious to me that the date format was the whole problem. I didn't even even bother mentioning it because I got the impression from

  • Section id in modular pages · 4 years ago

    @backit: maybe a dumb question @backit: yes first thing i tried So it wasn't a dumb question, but generally a good question, with the best chance of a successful response, would involve as much relev

  • Section id in modular pages · 4 years ago

    I am not a quark user or fan, but from the hero template it looks like the id comes from the header of the modular page. I am assuming id is an alias for page.header.id just as title is an alias for p

  • Ordering children pages by custom date field · 4 years ago

    Rather than using Grav's limited sort operation which is designed for simple header values (not expressions based on them), maybe try Twig's sort filter instead. Something like: {% for post in page.fi

  • Ordering of items in dropdown menu? · 4 years ago

    @sue: The file navigation.html.twig does not seem to be the place to put some ordering logic in. Why have you decided this? This is exactly where I would do it.

  • Does honeypot field of form log its results? · 4 years ago

    It's a good question and the answer is probably 'no'. The ideal place to ask is in the form plugin's issues after searching them.