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

  • Private plugin, how to protect only certain pages? · 10 years ago

    Sorry for asking - I am very new to GRAV... "Where" do I have to put "what" when I want to restrict access to certain pages (per group (and sometimes per user))? I haven't found anything on the web wh

  • Private plugin, how to protect only certain pages? · 10 years ago

    I got the Private plugin to work now. Looks like all I needed to do was put a "tag: hidden" in my markdown file.

  • Private plugin, how to protect only certain pages? · 10 years ago

    I'll take a look at that, thanks!

  • Private plugin, how to protect only certain pages? · 10 years ago

    Use the Login plugin, allows per-page permissions.

  • Private plugin, how to protect only certain pages? · 10 years ago

    So I got the private plugin now installed and read the README file for some instructions. I have disabled the plugin for the whole site with "private__site: false" Now I'm a bit confused on how to pro

  • Find pages without current · 10 years ago

    If you are trying to get contents from a child page maybe try. {% for p in page.find('/works').children.order('random') %} Child Title: {{ p.title }} Child URL: {{ p.url }} {{ p.content }} {% endfor %

  • Find pages without current · 10 years ago

    Hello, i have twig construction {% for p in page.find('/works').children.order('random').slice(0, 3) %} But when it echo - i received current page. How find other pages Снимок экрана 2016-07-27 в 23

  • Redirect to /{lang}/route/ using trailing slash · 10 years ago

    @flavio but when I do redirect_trailing_slash: true, then /grav redirect to /grav/en... which is weird. I need to setup it back to false in order to have /grav/en/. I'm using Grav v1.1.1

  • Redirect to /{lang}/route/ using trailing slash · 10 years ago

    I think redirect_trailing_slash actually works ONLY if it's set to true, so it would redirect a URL with a trailing slash to the URL without it. If set to false, nothing happens. It's not working at t

  • Redirect to /{lang}/route/ using trailing slash · 10 years ago

    Hi, I found that redirect_trailing_slash: false (which is really odd) redirects /grav to /grav/en/, which is what I want. I would like this to work for all the routes I have, for example: /grav/premi