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

  • Twig does not output data · 10 years ago

    Are you sure you are getting the collection properly? The best way to debug these types of things is to use the {{ dump(var) }} command and look in the debug bar to see what the values are. Start wit

  • Twig does not output data · 10 years ago

    i have had this problem multiple times ... file: the-huntsman-the-ice-queen-3d/movie.md title: 'The Huntsman & The Ice Queen (3D)' age_limit: 12 length: 114 visible: true release: '2016-04-07' the

  • Grav Suitable For What I Want? · 10 years ago

    You can setup accounts for people to create/edit posts. However this is currently does require an admin account, even if that admin only has access to posts. You don't need to use the CLI to instal

  • Grav Suitable For What I Want? · 10 years ago

    Grav is free (MIT licensed) and flat-file, which is what I need. From what I can tell it can also give me permalinks for posts, and I can include image(s) in posts. A theme ('skeleton') that I like is

  • How to prevent grav from formatting a directory? · 10 years ago

    I'm trying to use a forum software that uses php files, but grav doesn't want to load them. I'm probably just being an idiot, so sorry if this question is a waste of time.

  • Vue.js and JSON · 10 years ago

    Thanks for this - I already tried it. The funny thing is, even console.log gives me the full object with content but as soon as I want to output it to the page, it's empty :) Maybe some weird encoding

  • Vue.js and JSON · 10 years ago

    Twig is executed server-side, while Javascript runs on the client side, so there's no interference between the two. Inspect the JSON you get using the browser developer tool, and inspect the request

  • Vue.js and JSON · 10 years ago

    I think the problem must come from Grav itself because when I try the the whole thing without the CMS ( like as an regular webpage) it just works fine. So I think it has something to do with handing o

  • Vue.js and JSON · 10 years ago

    In this case I don't think Grav is interfering in any way, as the PHP file that you query is out of Grav itself. You should check what's the problem point, the PHP file or the JS?

  • Vue.js and JSON · 10 years ago

    No, I am getting the JSON through a php proxy file because of the Cross Domain policy I cannot directly pull in the JSON from the external source. So - basically you're right. The source is external,