Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Ron Wardenier Regular
@bleutzinn · Joined 9 years ago · 252 posts · 14 topics · 75 reputation
Badges
Recent posts
-
Newbie one: How to insert the google map code into the form template
· 8 years ago
I suggest you search the web for "grav google maps". It will show you a couple of relevant Grav plugins and even some Grav Forum posts about that topic.
-
Changing the default user folder location
· 8 years ago
Depending on your hosting environment and permissions you could try to use a symbolic link. Sadly a test reveals that although at first sight the site works fine using a symlink updating plugins and p
-
Content order custom
· 8 years ago
I should have mentioned that the subpage folders are named: 01.alpha 02.bravo 03.charlie It does not matter but for completeness: Only the default.md file of the page "alpha" has a title set in it's f
-
Content order custom
· 8 years ago
While doing some tests I discovered that if you specify ordering in the first line of the loop() macro in navigation.html.twig: {% for p in page.children.visible.order('custom', '') %} and set content
-
How to disable IP Address logging in Admin
· 8 years ago
In Admin there are some options on visitor tracking. See Administration Panel - Options - Popularity. Hopefully disabling Visitor tracking and setting the Ignore URL to / is enough to stop Grav from s
-
Render ajax response ( without template? )
· 8 years ago
There's a "How to" in the docs about submitting forms via Ajax. The upside of using the Grav Form Plugin is that you'll have full control of the message handling. The downside is adapting the design t
-
Use images instead of icons in
· 8 years ago
On this forum a similar question has been answered. It contains some code examples that are helpful I think.
-
Get translation of page.title for present page
· 8 years ago
Perhaps if you add the language of every page in it's header or frontmatter and create a collection, you could use some Twig logic to filter and get the desired page title?
-
Pages in multiple categories -> active menu item
· 8 years ago
I think modifying navigation.html.twig is the right way. However such modification cause difficulty when the theme is updated and without caution you loose your modifications. A solution is to use the
-
Can I filter a page collection by available language translations?
· 8 years ago
A similar questions has been asked before. The answer was using the translatedLanguages method of the Page object. When I search the web for "grav translatedLanguages" I see a couple of use cases. Tha