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

  • Is there a simple way to get image width/height in twig? · 10 years ago

    I had a situation in my current project where I wanted to add img's to my gallery template differently depending on whether they were portrait or landscape. But there are no built-in actions to deter

  • Numbered versus not numbered · 10 years ago

    Usually numbered folders are used to determine the visibility option, for use in menus. For blog posts, for example, they are not much useful if not for internal organization purposes (e.g. I use them

  • Numbered versus not numbered · 10 years ago

    I started using Grav with numbered folders, but now that I have more than 100 folders, I find that they are being renumbered as I add new posts. I'm just wondering, is there any downside to now switc

  • RuntimeException thrown with message "Failed to write cache file · 10 years ago

    Well that's a bit confusing, because it looks like a straight up permissions issue. However, you are running on windows so shouldn't have any permissions issues for the webserver creating the file. I

  • RuntimeException thrown with message "Failed to write cache file · 10 years ago

    Hi guys, I got this message when i launched Grav for the first time RuntimeException thrown with message "Failed to write cache file "C:/wamp64/www/grav/cache/twig/ae/ae264e63cb578aa108549e1f405d5820

  • Taxonomy list in drop-down · 10 years ago

    Alternatively you can perform this logic in the PHP of the plugin and set the resulting array to variable that your twig can simply loop over. Either way works though :)

  • Taxonomy list in drop-down · 10 years ago

    That was it! Here is the code in case anyone else runs into this. {% set allseries = [] %} {% for i in page.children %} {% for series in i.taxonomy.series %} {% if series not in allseries %}

  • Taxonomy list in drop-down · 10 years ago

    http://stackoverflow.com/questions/17788424/how-to-remove-duplicated-items-in-array-on-twig Newbie here, but wondered if that would help you. My thought was that if what the user says is true, and you

  • Taxonomy list in drop-down · 10 years ago

    Excuse me if I am using this wrong. But I have a church website I am building which has sermon categories that will be defined by whoever the author is that creates the post (blog page). I have search

  • Post to Data (print current username) · 10 years ago

    EDIT: This is now working. Added a login to the page and it's working now. Silly me, I had thought the admin login was already counted and enough. access: site.login: true admin.login: true