pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3221 posts · 18 topics · 1023 reputation
Badges
Recent posts
-
Is there some sort of numerical user id?
· 6 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
· 6 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
· 6 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"
· 6 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?
· 6 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
· 6 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
· 6 years ago
@MLecout, Grav's API is also part of the documentation... ;-) See section for class: \Grav\Common\Page\Medium\ImageMedium
-
How to get the URL of the largest image in a Srcset
· 6 years ago
@MLecout, To get the url of the larger image, you could try the following. Twig: {% for image in page.media.images %} <a href="{{ image.higherQualityAlternative().url() }}" rel="lightbox">
-
How to get the URL of the largest image in a Srcset
· 6 years ago
@MLecout, I think the behaviour is as intended and imho correct. The srcset attribute provides a set of alternative images to the original src image. When using image files with density notation (@2x,
-
Import wordpress xml file to Grav
· 6 years ago
@shane, Maybe someone else can pull up a rabbit out of the hat...