pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3184 posts · 17 topics · 1019 reputation
Badges
Recent posts
-
Difference sorting collection on local and production site
· 5 years ago
@Karmalakas, Well spotted, but I think that will not make much difference because Collection::visible() does not take any parameters. The resulting collection will still be all visible pages, with the
-
Website search without php?
· 5 years ago
@christiana83, The fact that the resulting site is a static site makes quite a difference... Have you tried Google? Here is an article that mentions different options, like Algolia, Lunr, ..
-
How to display sub tree structure as a ToC
· 5 years ago
@porru, Essentially, the logic is the same as how a menu is build. See Quarks '/user/themes/quark/templates/macros/macro.html.twig'. Or have look at the way the menu is created in theme Learn. This
-
Is there some sort of numerical user id?
· 5 years ago
@MildlyDeviant, No, out of the box, Grav does not maintain userIDs. However... Grav is very flexible and almost any part of its internal functionality can be used/extended in your app. But before ela
-
Grav 1.7 curl - PHP Curl in local host - Wamp
· 5 years ago
@cidelab, I've taken the liberty to change which reply should be considered the 'solution'. As you said yourself, upgrading Apache was the solution that solved the issue.
-
No language strings in the Admin UI
· 5 years ago
@Peleke, A quick search on the forum with keywords upgrade translation admin, gave the following similar post. Maybe the solution for that issue might help for this one too...
-
"partials/noscript.html.twig" is not defined in "partials/base-root.html.twig"
· 5 years ago
@cidelab, A search on the forum for 'noscript' returned this solved topic with the same error... The same issue has also been reported on the repo of the Admin plugin. Maybe applying the same solutio
-
Plugin-Design: how to best add custom data to a form?
· 5 years ago
@domsson, The following is a rough example on how one can add fields dynamically to a form and process its submitted data. Create new page with form: 'user/pages/03.events/form.md' --- form: name: ev
-
Loading plugins only on specific pages
· 5 years ago
@hoernerfranz, I'm afraid your suggestion will not work... Both 'LightSlider' and 'Event' plugin add css and js assets in PHP and unfortunately, there is no check in PHP if assets should be loaded or
-
How to get the URL of the largest image in a Srcset
· 5 years ago
@MLecout, Grav's API is also part of the documentation... ;-) See section for class: \Grav\Common\Page\Medium\ImageMedium