Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Question from a noob
· 12 years ago
First off, great software. Very fast and easy on the eyes. To the meat and potatoes... Is it possible to embed code into a page? I need a contact form and either my Google-Fu is worse than I thought
-
How to get the filename of a page
· 10 years ago
@flaviocopes page.template Perfect ! Thank you very much.
-
How to get the filename of a page
· 10 years ago
You can get the same with page.template, but without .md. E.g. on a item.md page, it will return item
-
How to get the filename of a page
· 10 years ago
Hi guys, I'm trying to get the filename of a page. My best attempt so far is: {% set page_filename = page.filePath()|slice(page.path()|length)|ltrim('/') %} Do you know any other way to achieve this?
-
Example using ajax
· 10 years ago
I assume you'd like the URL you call to "do something" or to return some json values. You need to write a plugin that listens on a URL and returns some results. https://github.com/flaviocopes/grav-plu
-
Example using ajax
· 10 years ago
Could you please give me an example how to use ajax in grav ? I'm able to send a GET request with jquery to a page, but i don't know where to put the logic for its processing, and i need write the cod
-
Pages order in admin tree
· 10 years ago
got it… order: by: folder dir: asc
-
Pages order in admin tree
· 10 years ago
I should add that this only applies to subpages. See the Screenshot I assume the order be alpahteical…
-
Pages order in admin tree
· 10 years ago
The Pages tree view in the admin panel does not follow the order of the folder prefixes. It seems to be exactly inverted (descending). Am I missing something, or is it possible to fix that?
-
Where to start?
· 10 years ago
Thanks for pointing med in direction