Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Trying to get a handle on dynamic content via a plugin
· 10 years ago
@Gingah this is very helpful and enough for me to start really digging in myself. Thanks so much!
-
Trying to get a handle on dynamic content via a plugin
· 10 years ago
Really, for the content itself you are looking at either affecting Markdown before processing or after processing. Everything else should go into templates. For a quick example of manipulating post-pr
-
Trying to get a handle on dynamic content via a plugin
· 10 years ago
All, First, apologies if there's a thread that appropriately addresses this already. The search function doesn't seem to be working on the forum (is it just me? gets stuck at what I assume is the AJAX
-
Get page's highest-level ancestor
· 10 years ago
Then climbing back up, looping until the next parent is root is the way to go.
-
Get page's highest-level ancestor
· 10 years ago
I'm not after the root, though - I'm after the node below that (relative to this page).
-
Get page's highest-level ancestor
· 10 years ago
You can quickly reach the root like this: {% set root = pages.root %} however, that's really a placeholder for the root node of user/pages/, within that are a bunch of top-level pages usually, and to
-
Get page's highest-level ancestor
· 10 years ago
I'm aware this can be done with a recursive Twig macro if you're after a certain property of the ancestor, eg.: {% macro granddaddy_image(p) %},{% spaceless %} {% if p.parent.root %} {{ (p.medi
-
Reseting password - Login plugin
· 10 years ago
Correction: It works perfectly well when I click the 'forgot'-button at the admin-login but not when I am trying to access a protected page on the frontend or via the login form at http://grav.supinum
-
Reseting password - Login plugin
· 10 years ago
Yes! Adding process.twig: true did it! Should I expect an update to the login plugin to show up in the updater? And yes, I am using Mailmate so its not that surpricing really. The link shows up nicely
-
Reseting password - Login plugin
· 10 years ago
Today I've fixed the twig in the page - needed to set process.twig: true in its header. The first issue is strange, I get the button nicely formatted - could be an email client issue? Which client is