pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3221 posts · 18 topics · 1023 reputation
Badges
Recent posts
-
How to display responsive images using GRAV srcset method in TWIG?
· 6 years ago
@brigaill, I think you will have to drop the suffix @3x in field name in your frontmatter. See docs on higher density images: Let's assume you have a file called [email protected] , you would actually re
-
Form plugin returns null instead of a page via getPage()
· 6 years ago
@domsson, I've Added an issue at the repo of the Form plugin. According the team, it is by design and won't be fixed. UPDATE: Team is considering how adding extra fields can be done safely. There are
-
Form plugin returns null instead of a page via getPage()
· 6 years ago
@domsson, The following seems to be happening... Form::getPage() should either return a page or null. However, Form::getPage() is being defined as returning a PageInterface and will therefor throw an
-
Selectize field in admin blueprints erases values
· 6 years ago
@jrzav, Next time I’ll search in github too Would have saved you quite a bit of time I guess... If you do want to update the docs, I would suggest to only add a red/orange warning notice like: Kno
-
Selectize field in admin blueprints erases values
· 6 years ago
@jrzav, Seems similar to this issue in Admin repo: Selectize field drops custom values after saving/refreshing input Hopefully the proposed workaround works for you...
-
Does grav have the concept of relational links (many to many, one to many, etc.)?
· 6 years ago
@jasonday, Grav is a flat-file CMS and hence only knows about flat files... Having said that, whatever valid data you can define in JSON or Yaml can be loaded by Grav. That doesn't mean that Grav its
-
When using responsive images, is it possible to crop to as aspect ratio?
· 6 years ago
@Karmalakas, I totally forgot about the issue I contributed to... :man_facepalming:
-
When using responsive images, is it possible to crop to as aspect ratio?
· 6 years ago
@jrzav, What happens if you do the following in Twig? image.crop(100,100,300,200).derivatives([100, 200, 300]).html()
-
Session_store_active has no effect
· 6 years ago
@wblondel, Would you mind testing the 'develop' branch of Grav and see if it works for you now? $ git clone https://github.com/getgrav/grav -b develop . $ composer install
-
How can I get page images by index?
· 6 years ago
@filo91, I think I find the following easier on the eyes... Not sure what the use-case is, but the index is probably not a constant. {% set keys = page.media.images | keys %} {% set index = ... %} {{