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

  • Managing content in two columns · 12 years ago

    2columns The project I am working on is not a blog. It's a website of a club, wich presents the work of stone artists. So I have to know, wich part of my site appears on the left and wich part on the

  • Managing content in two columns · 12 years ago

    Do you really want to be specifying left and right columns? I think you really just want two columns right? How do you want your articles distributed? left, then right, the left then right? or the fir

  • Managing content in two columns · 12 years ago

    Example: I've a template 'columns.html.twig', with two columns as following: ---html <div class="container"> <div class="row"> <div class="col-xs-6"> {% for child in page.collection

  • Getting at $_GET? · 12 years ago

    Thanks for the tips. You have been consistently helpful and I'm learning a ton about Grav from you. :)

  • Getting at $_GET? · 12 years ago

    You of course have full PHP access in the plugins. Rather than accessing $_GET directly, you should use filter_input() - http://php.net/manual/en/function.filter-input.php as it's much safer. Have a

  • Getting at $_GET? · 12 years ago

    Digging in here it looks as if I want to have my plugin listen for the onTwigSiteVariables event to set Twig variables for what I collect from $_GET in the plugin. Since $_GET is a super global, I ass

  • Getting at $_GET? · 12 years ago

    I guess it's time for me to learn more about plugins. :) Off to the docs...

  • Getting at $_GET? · 12 years ago

    Grav is intentionally kept light-weight, it does not contain a full framework under the covers as these add overhead and would slow things down. There is some basic access to parts of the request in

  • Getting at $_GET? · 12 years ago

    AJAX is a possibility. But I'm not that good with it, nothing else on the site uses it (yet), and I'm thinking there should be a simple way to get there with HTML and Twig. Maybe not?

  • Getting at $_GET? · 12 years ago

    You can use Ajax for sending the form for contact? With ajax it's easy to receive a reply from server and take some action after successfully sending :)