Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Finding Other Pages
· 10 years ago
The page variable gives you access to the Page object. The Media docs give some starting information on getting media.
-
Finding Other Pages
· 10 years ago
Thanks that addressed my concern the trick. Where can I see the additional items that can be find in a Page. For example can I display the main graphic of a page in the results?
-
Finding Other Pages
· 10 years ago
And you're putting this in an .md page? Have you enabled Twig processing in your page? The documentation you linked to doesn't mention that part.
-
Finding Other Pages
· 10 years ago
<ul> {% for p in page.find('/vacations').children if p != page %} <li><a href="{{p.url}}">{{ p.title }}</a></li> {% endfor %} </ul> ---
-
Finding Other Pages
· 10 years ago
Can you provide some actual code?
-
Finding Other Pages
· 10 years ago
In the Grav documentation found at https://learn.getgrav.org/content/content-pages. It make mention of Finding Other Pages using HTML and find() method. I put the code into MD section of a page and
-
Event Plugin - Events View Isuue
· 10 years ago
Followed the instructions linked but ran into issue on the last step with mytheme.php file. My baseline theme is Gravi-K. However error is presented "syntax error, unexpected '-', expecting '{'" .
-
Event Plugin - Events View Isuue
· 10 years ago
Thanks. I am going to do the theme inherit process you have called out.
-
Event Plugin - Events View Isuue
· 10 years ago
You should always inherit your theme before customizing. That way your customizations aren't lost when things are updated. I'm pretty sure you just take the twig file from the plugin's templates folde
-
Event Plugin - Events View Isuue
· 10 years ago
Not sure where your are telling me to backup this file to. Seems everything has a template directory. This one was in a plugin folder.