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

Muut Archive Legend

@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Custom Contact Page? · 9 years ago

    Thank you rhukster, I just couldn't find the path user/plugins/form/templates/fields to check how the form is setup. I'm quiet new to Grav and sometimes the twig files seem be scattered around a bit.

  • Custom Contact Page? · 9 years ago

    The default form twig templates are located in the user/plugins/form/templates/fields folders. If you want to modify their output, your going to need to override some of them in your theme. Check ou

  • Custom Contact Page? · 9 years ago

    Ok, but is there a way to keep the templates theme/layout, just have the inputs be through the form?

  • Custom Contact Page? · 9 years ago

    That Twig is manually building a form then trying to submit it to a PHP file called mail.php. I'm sure that's going to be inherently insecure as this form doesn't have any nonce protection, and certa

  • Custom Contact Page? · 9 years ago

    I've been attempting to port one of my old HTML templates into Grav. It has a custom contact page. I put the contact page code in partials/contact.html.twig and then use {% include "partials/contact.

  • PHP code in my sidebar · 9 years ago

    You can't put PHP script in to Twig . This is for security reasons. What are you trying to do with the PHP?

  • PHP code in my sidebar · 9 years ago

    Hello, I have Grav running using the antimatter theme. When you have a blog on the right side there is a sidebar. I changed the text, but I would like to include a small PHP script in there. How can I

  • Adding Taxonomy to a List of Images · 9 years ago

    Okay, that clears it up. I figured I'd have to go that route. Thanks!

  • Adding Taxonomy to a List of Images · 9 years ago

    'taxonomy' field is a special type that is for Pages only. You can't arbitrarily use it for custom stuff. I would simply use a commalist type: header.gallery: name: favorites type: list st

  • Adding Taxonomy to a List of Images · 9 years ago

    I'm trying to add taxonomy to each image in a list so that I can allow the client to filter based on the taxonomy. The problem is whenever I save, it just clears the fields. I can't seem to figure o