pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3135 posts · 12 topics · 1013 reputation
Badges
Recent posts
-
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
-
Migrating from Ghost CMS to Grav
· 5 years ago
@Peleke, Not sure what to think of this... Your post on the Kirby forum, 1 hour ago: I would like to migrate from Ghost CMS to Kirby because of more flexibility and multi-language features but I cann
-
How to connect a database to a table in Grav
· 5 years ago
Another option: Use Drupal 8 Why Drupal: Grav is a flat-file CMS... Drupal has a build-in database API with ample documentation The current website of the client is build in Drupal. Does the client h