pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3185 posts · 17 topics · 1019 reputation
Badges
Recent posts
-
onAdminSave() for setting route default override
· 8 years ago
@metbril I'm afraid it is not exactly clear to me what you would like to achieve? Would you like to: Redirect Wordpress like request to internal folder structure. Are you converting a Wordpress site
-
Automatically "translate" URLs / Set Default Route to match the Title
· 8 years ago
@Paddi This could well be an 'undocumented feature' of Grav... It is however a bit silly to change the slug of a child of a modular, because the child-page is never displayed on its own and hence do
-
Hero_image setting ignored
· 8 years ago
Keeping the images in /user/pages/images is suggested in the docs Where to put your media files. You can then use: page.find('/images').media['my-image.jpg'] If I put the images in /user/images I have
-
Hero_image setting ignored
· 8 years ago
Ah, the blog-list-item.html.twig has yet another way of finding the image: {% set image = page.media.images|first %} It doesn't look at the field 'hero_image' it just picks the first it finds in the p
-
Tags automatically uppercase?
· 8 years ago
As you said, you are just starting out using Grav. That always comes with a confusing learning period. So many options, so many ways of doing things...
-
Tags automatically uppercase?
· 8 years ago
The tag is transformed to uppercase by css: .label { font-size: 12px; text-transform: uppercase; }
-
Hero_image setting ignored
· 8 years ago
By default, Quark looks inside the folder containing the page for the hero image. Depending on the template, if field 'hero_image' is not set, or the image cannot be found, the first image in the page
-
Automatically "translate" URLs / Set Default Route to match the Title
· 8 years ago
Bummer... But I cannot reproduce... Modular page remains modular, module remains module.... Can you give me the steps to reproduce? What are you seeing?
-
Automatically "translate" URLs / Set Default Route to match the Title
· 8 years ago
Maybe this answer on Stackoverflow can help to translate umlauts and others. The extra check in onPluginsInitialized() sounds like a good idea.... I think you should also check if Uri::paths() returns
-
[Antimatter] 5 columns desktop - single column rendering on mobile devices?
· 8 years ago
Glad your issue got solved. I can imagine you would like to 'wrap' the 5-column section into a 3-column or 2-column section when the page is not visited from a mobile but a wider tablet, or when the