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

  • Passing a variable to change layout · 10 years ago

    The cache folder will still be created for images, but pages content will not be cached if cache is disabled. I read the first explanation too fast. I thought you had 2 folders structures. But instead

  • Passing a variable to change layout · 10 years ago

    OK, thanks Flaviocopes. I've opened /Applications/MAMP/htdocs/user/config/system.yaml and set cache.enabled to false but a cache folder still appears. The debug bar shows the same info whether I appro

  • Passing a variable to change layout · 10 years ago

    If does not produce output, it prints to the debug bar. Disable cache by setting it in the Admin system configuration, or in system.yaml

  • Passing a variable to change layout · 10 years ago

    @flaviocopes Thanks. {{ dump(page.parent.header) }} produces no output. I don't know how to disable the cache (I've lots to learn) but I deleted the cache folder and tried again; still no output.

  • Passing a variable to change layout · 10 years ago

    page.referrer does not exist afaik, the page.parent approach should work. Try dumping its value to the debug bar using {{dump(page.parent.header)}} and see why you cannot reference it. Is cache disabl

  • Passing a variable to change layout · 10 years ago

    I have a collection page in folder Books1, together with some child pages representing books: title: Books1 content: items: '@self.children' layout: style1 The children are displayed using templat

  • Get collection of pages without media information · 10 years ago

    Cool :)

  • Get collection of pages without media information · 10 years ago

    Jep, I solved it by writing my own search plugin, and instead of storing the results in a collection, i just store them in my own array and pass it on to Twig. Which is already quite fast. Thx for the

  • Get collection of pages without media information · 10 years ago

    The problem is that search calls content() on each page. This gets the content from the cache if available, else, it processes the content as required and caches the results for next time. This meth

  • Get collection of pages without media information · 10 years ago

    I'm using grav to create a media library. I've written an image cache system, and grav is really fast, despite serving hundreds of heavy media pages (hundreds of images per page, many video, audio etc