Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Admin plugin not saving changes
· 11 years ago
Does this happen with caching disabled?
-
Admin plugin not saving changes
· 11 years ago
Hi guys, I have a grav install amonthwithoutmymobile.com with everything up to date and permissions seen to be in order.. But the admin plugin isn't saving anything. No new pages, text changes on cur
-
Using child page content in multiple templates
· 11 years ago
OK, thanks! Good to know.
-
Using child page content in multiple templates
· 11 years ago
it's basically the same thing, but my example get's a specific page, where as the one you mentioned in the docs gets all the children of a particular page, and loops over them.
-
Using child page content in multiple templates
· 11 years ago
OK. I also just found this in the documentation: <ul> {% for p in page.find('/projects').children if p != page %} <li><a href="{{p.url}}">{{ p.title }}</a></li> {% endfor
-
Using child page content in multiple templates
· 11 years ago
Sounds like your looking for the page inject plugin: https://github.com/getgrav/grav-plugin-page-inject You can also do this more programmatically with Twig: {% set other_page = page.find('/my-other-
-
Using child page content in multiple templates
· 11 years ago
I have a project listing page with a large number of child pages. Each child page has custom headers with that project's info. How can I use that info in other templates besides the project.html.twig
-
Routes not working
· 11 years ago
What route configuration do you have to cause this error?
-
Routes not working
· 11 years ago
[2015-08-17 11:24:45] grav.CRITICAL: Page Not Found - Trace: #0 /sitepath-removed//vendor/pimple/pimple/src/Pimple/Container.php(112): Grav\Common\Grav::Grav\Common{closure}(Object(Grav\Common\Grav))
-
Offline documentation
· 11 years ago
RTFM is a skeleton for creating your own documentation (like the learn site), but you will need to drop in the grav-learn repo as the user folder to get the learn documentation on your local.