Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

hughbris Veteran

Regular

Grav Forum Moderators

@hughbris · Joined 9 years ago · 579 posts · 13 topics · 127 reputation

Badges

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

Recent posts

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

  • Git sync and problem with gitignore · 4 years ago

    There are a few similar issues in the plugin's repo. If none are the same, I suggest adding your question as a new issue there. I doubt you will get much help here but you might.

  • Why is base.html.twig located in the Partials folder? · 4 years ago

    @hughbris: Not sure why. I think it's because some themes and plugins have a layout.html.twig. I am thinking in this theme I make in the future I might put the base template into "foundation" or "sca