pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3221 posts · 18 topics · 1023 reputation
Badges
Recent posts
-
Massive file creation slowing server
· 5 years ago
@Vince42, Is cache/doctrine also in your case the one that is growing to the max?
-
Pages erased when ordering them
· 5 years ago
@jordan, Are you, or have you been, using folder names with capitals (or maybe diacritics)?
-
How to use the content of a text field as a title for another field in a blueprint
· 5 years ago
@aGooa, The value of a property of a field can be fetched from the server using calls to static php methods. See Using Function Calls (data-*@). However, while entering the value for field header.tit
-
How to remove enqueued assets
· 5 years ago
@mark-s, Although I've never used it, it sounds logical to me that the file reference used in assets.addJs('<file reference>', options), should also be used to remove it. You can find it in the
-
How to remove enqueued assets
· 5 years ago
@mark-s, Never used it but maybe assets.removeJs() is what you are looking for: See API on Asset Manager: removeJs( string $key ) : \Grav\Common\$this Removes an item from the JS array if set Not su
-
Load partials via ajax
· 5 years ago
@christiana83, to append the partials content on click to a node, so that they just need to be loaded, when needed To recap our needs: you want to asynchronously fetch HTML from the server when the
-
Load partials via ajax
· 5 years ago
@christiana83, The more requirements and context is given in the question the higher the chance are to get a suitable answer... Back to square one: partials with data What are "partials with data"?
-
Load partials via ajax
· 5 years ago
@christiana83, Interesting question. I did some playing. Considering: You want to fetch new html dynamically from the server to add to the DOM. The html is generated using Twig with server data. The
-
How to add automatic 'sizes' attribute for srcset
· 5 years ago
@luap, You could try the following: <section class="image {{ page.header.imagelayout.class }}"> {% for image in page.media.images %} <div class="projectimage projectimage__half">
-
Modular blueprints only work sometimes
· 5 years ago
@gcasalett, Add $ bin/grav cache to your toolbelt and use it whenever changes do not show up.