pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3137 posts · 13 topics · 1013 reputation
Badges
Recent posts
-
"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
-
How to get the URL of the largest image in a Srcset
· 5 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
· 5 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
· 5 years ago
@shane, Maybe someone else can pull up a rabbit out of the hat...
-
Import wordpress xml file to Grav
· 5 years ago
@shane, There have been a few plugins assisting the migration of WP to Grav, but they are kind of old and probably no longer compatible with the current version or WP. Also, I'm not sure it they offer
-
ERROR: flex-objects.html.twig template not found for page:
· 5 years ago
Seems to be a known issue since January... See Issue at getgrav/grav and issue at Content Edit plugin. Reminder to myself: Don't forget to check the repos for known issues...
-
Question regarding the Antispam plugin
· 5 years ago
@jmsstuff, If fighting spam would be easy, it would have been solved... You can protect your contact form as much as you like (and you should), but: There are humans trying to make a living by enteri