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

  • PHP Startup error · 11 years ago

    That's definitely a server configuration issue. rar.so is loading rar extracting support in to PHP. This is not something needed or used by Grav.

  • PHP Startup error · 11 years ago

    I get randomly this error: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/rar.so

  • "Some Text Widget" in basic blog page · 11 years ago

    Thanks. I created a theme which inherits from the base them, and made a new version of the partial that does what I want.

  • "Some Text Widget" in basic blog page · 11 years ago

    Well if you have it mostly working then an even simpler approach is to edit sidebar.html.twig and remove the hardcoded reference with a dynamic page find(). Put your content in a page and then load it

  • "Some Text Widget" in basic blog page · 11 years ago

    Yes, I had found the hard-coded reference earlier. I am not clear on what you mean in the second paragraph by "on the side rather than below" and how this should relate to the modular format. I have a

  • "Some Text Widget" in basic blog page · 11 years ago

    In the blog skeleton, the sidebar.html.twig is included by the blog.html.twig and is not associated with a page at all. In there is a hardcoded reference to the "Some Text Widget" you are looking for

  • "Some Text Widget" in basic blog page · 11 years ago

    I am trying to build up a Grav site from scratch, though I am also trying to use the sample skeletons as guides. I have successfully, but only partially, created a blog-like listing page for the site

  • Is there such a thing as a partial variable? · 11 years ago

    Indeed, what you were asking could also be done like this: {% include 'template.html' with {'some_variable': page.header.variable} %} should you ever have need of it. But like Karol explained, the hea

  • Is there such a thing as a partial variable? · 11 years ago

    I also recommend taking look at twig include: http://twig.sensiolabs.org/doc/tags/include.html Maybe not really related to that topic but may help in the future :)

  • Is there such a thing as a partial variable? · 11 years ago

    Oh yeah... thanks. I already use page headers in the page, just didn't think about the partial being able to access them :D Thanks for the help!