pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3221 posts · 18 topics · 1023 reputation
Badges
Recent posts
-
Sizes with media queries - with OWL Carousel
· 7 years ago
@msa, According the docs, If you rename the image file to [email protected], Grav will create a resized file and add a srcset to the <img> tag. <img title="Title" alt="Alt" class="img-full-respon
-
Sizes with media queries - with OWL Carousel
· 7 years ago
@msa, How does the generated <img> tag look like?
-
Sizes with media queries - with OWL Carousel
· 7 years ago
@msa, Maybe you could try to replace: <img src="{{ image.url }}" class="img-full-responsive s-rounded" alt="{{ page.title }}"> with: {{ image.sizes('(max-width:26em) 100vw, 50vw').html('', page
-
Is this normal block behavior in my template?
· 7 years ago
@prw, Thanks for rewriting your setup and filling in the blanks. Much clearer this way! TL;DR: Yes, blocks 'javascript', 'stylesheet', and 'bottom' render as expected. As quoted before: Blocks are us
-
Gallery made with child pages
· 7 years ago
@kmk, Glad to here your original issue has been resolved. This new questions seems unrelated and warrents for posting a new issue. Would you mind flagging your last reply for deletion (click the 3 ho
-
Is this normal block behavior in my template?
· 7 years ago
@prw, I have been pondering over your question both yesterday and today quite a bit. And I am still confused... In order to help the reader help you and increase the chance on a response, I would kind
-
Is this normal block behavior in my template?
· 7 years ago
@pwr, This seems to be a question that's best resolved by getting a foundation on Twig itself. According to Twig: block ¶ Blocks are used for inheritance and act as placeholders and replacements at t
-
Markdown: paragraph on images
· 7 years ago
@prw, Because you requested some feedback... First some feedback on the plugin: Have a look at $this->mergeConfig($page), to merge the global config with the page-level config. This will allow yo
-
Gallery made with child pages
· 7 years ago
@kmk, You shared your intention and code, but what I'm missing is the problem you are facing... Here is some guesswork: If gallery is totally empty: Did you define a collection in the page in which
-
How can I delete a page folder programmatically (in plugin)? thoughts on cron jobs welcome
· 7 years ago
@Netzhexe, I'm pleased to hear you are content with the provided sample. No need to brush up my ego though, it is already as content as it could be... 😇