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

  • {{ dump(page.foo) }} · 11 years ago

    This is what I have in my template: {% block foo %} {{ dump(page) }} {% endblock foo %} and this is what I see in Messages: Environment Name: localhost array:2 [ 0 => "user://config" 1 => "

  • {{ dump(page.foo) }} · 11 years ago

    make sure it's inside the {% block %},{% endblock %} tags

  • {{ dump(page.foo) }} · 11 years ago

    I did what you suggested and I still don't see it. I have {{ dump(page.url) }} in my template (yeah, I know I don't need dump with the .url attribute). No mention of it in the message tab or the twi

  • {{ dump(page.foo) }} · 11 years ago

    Is there any way to put the debugger javascript junk at the beginning of the {{ assets.js() }} list? If I turn on the debugger, my menu gets messed up. I have a jQuery $(document).ready() function th

  • {{ dump(page.foo) }} · 11 years ago

    Should show up in the message tab of the debugger. So you have to turn the debugger on first.

  • {{ dump(page.foo) }} · 11 years ago

    What's the magic incantation to get this to work? All I get from this is whitespace (with or without the <pre> tags). -- sw

  • Map files to URLs · 11 years ago

    There is no 'mapper' per say. Grav simply maps folder structure to URLs. You can override the slug which is the folder name. You can also setup custom Routes/Aliases, via site.yaml:

  • Map files to URLs · 11 years ago

    What or where is the mapper from .../user/pages/0000.about/0000.sr/default.md to http://<host>/<baseurl>/about/sr/ I have a need to undo this in a plugin I'm writing. Thanks... -- sw

  • Server side includes · 11 years ago

    Yeah... my guess is that the SSI is being treated as a comment.

  • Server side includes · 11 years ago

    Not sure then. I'm just not familiar enough with how server side includes are processed. Haven't used them in probably 15 years! :) Might be something related to PHP processing and trying to process