pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3135 posts · 12 topics · 1013 reputation
Badges
Recent posts
-
Unable to see the modules attached to a page
· 5 years ago
@fab, I'm afraid I cannot follow you... You might consider downloading the skeleton One-Page Site and see how the modular page is constructed.
-
Unable to see the modules attached to a page
· 5 years ago
@fab, despite i’ve read some tutorial Did you read the tutorial dedicated to Modular Pages? If so, did you create the collection definition in the primary page?
-
Set default attributes to markdown images to avoid cls
· 5 years ago
@christiana83, Did some playing with code. The following onPageContentProcessed event handler seems to work. Note: Used images are in page's folder. public function onPageContentProcessed($event) {
-
Set default attributes to markdown images to avoid cls
· 5 years ago
@christiana83, My suggestions are not really of any help with the existing pages... Take a look at event: onPageContentProcessed. This event is fired after the page's content() method has processed
-
Set default attributes to markdown images to avoid cls
· 5 years ago
@christiana83, You could try the following: Using a fresh install of Grav 1.7.5 In Twig template: // Twig {% set image = page.media.images|first %} {{ image.height().width().html('Image inserted in
-
Recaptcha not showing up
· 5 years ago
@TonHaarmans, What woud a developer be without Git to revert changes ;-)
-
Recaptcha not showing up
· 5 years ago
@TonHaarmans, Probably by undoing what you did before to fix the issue temporarily... I could remove this meta tag and then indeed the captcha turned up,
-
WebP images do not show up
· 5 years ago
@luap, Grav does not create webp images for you. You will have to upload them yourself like any other image format.
-
All Grav sites broken - InvalidArgumentException cache directory not writable, but it is
· 5 years ago
@Vince42, Did you go through the Troubleshooting docs?
-
Hyphenize tags containing spaces, per page in collection
· 5 years ago
@brigaill, To extend on my previous answer which was for a single page, the following is per page in a collection of pages. // child1: default.md taxonomy: tag: [a, b, hyphenize me, c] // child2