pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3184 posts · 17 topics · 1019 reputation
Badges
Recent posts
-
Static access of page header in conditional field
· 5 years ago
@stepbyweb, According the docs Available Form Fields for Use in the Admin: In addition to the fields listed below, reserved for usage in the Admin, you can also use all the fields available in the f
-
How to display responsive images using GRAV srcset method in TWIG?
· 5 years ago
@brigaill, Do you want to remove the @3x in the frontmatter of the page, or in Twig? You didn't answer where you wanted @3x to be removed, but I will answer it for the Twig variant... Try the follo
-
How to display responsive images using GRAV srcset method in TWIG?
· 5 years ago
@brigaill, But I really don’t know how I could programmatically drop off the suffix @3x in the frontmatter field “name” from my uploaded image files. Do you want to remove the @3x in the frontmatte
-
How to display responsive images using GRAV srcset method in TWIG?
· 5 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()
· 5 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()
· 5 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
· 5 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
· 5 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.)?
· 5 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?
· 5 years ago
@Karmalakas, I totally forgot about the issue I contributed to... :man_facepalming: