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

  • Load plugin templates along with theme · 10 years ago

    Plugins can automatically provide templates (e.g. archives, breadrumbs, feed, etc). You need to register the path to templates in the onTwigTemplatePaths() method. This will get found by Grav automat

  • Load plugin templates along with theme · 10 years ago

    What is the setting so that plugin templates are considered along with theme templates? For example on submitting form, form.md can be displayed.

  • Footer data from file.md · 10 years ago

    Okay, I solved it... 'page' is a variable that is passed to the footer template. To access the data of page in the footer template, just prefix it with 'page': {% for item in page.header.logos %}

  • Footer data from file.md · 10 years ago

    Don't forget to activate your debugger and dump the page to be sure you got the right one. I have the same problem than @mptyi, I created a footer.html.twig, wanted to call it in base with a specific

  • Footer data from file.md · 10 years ago

    Thank you for replying. Is the path in page.find currently at partials folder as the base.html.twig is stored there? If footer.md page stored in pages folders should the path be (../../../pages/footer

  • Footer data from file.md · 10 years ago

    You can do such thing with

  • Footer data from file.md · 10 years ago

    In base.html.twig I want to get data from a file into the footer. I tried creating a page called footer.md and included footer.html.twig created in the template. But this is not working. Is there a b

  • Parse content of Text files · 10 years ago

    It's possible if you create a custom plugin to read and parse that file.

  • Parse content of Text files · 10 years ago

    If I have a text file (media file) offered for download, is it possible to parse and display the textual content of that file in the page that lists it's download? Or, do I have to include that conten

  • Documentation Learn in PDF · 10 years ago

    Since I can not recreate the error, can you provide link to your website or a screenshot?