pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3129 posts · 12 topics · 1011 reputation
Badges
Recent posts
-
onAdminSave() for setting route default override
· 8 years ago
Would you mind elaborate on why you would like to keep the Wordpress style urls? Is it pageranking, or ...
-
[SOLVED] How to generate fake url /item-XXX or item/XXX for the same page?
· 8 years ago
Ah, I see I have misunderstood your requirements... The approach you have taken seems to fit your needs pretty well. I see some area's of improvement in coding though: The regex used to get the ID w
-
[SOLVED] How to generate fake url /item-XXX or item/XXX for the same page?
· 8 years ago
@nicolasG Grav's routing capabilities are quite flexibel and powerful. Have a look at the documentation for Routing. For instance you can set multiple aliases in the frontmatter of a page. For example
-
Page collection does not filter category
· 8 years ago
@Jack @Jack: but I had also to modify my frontmatter Rewriting should not be necessary, but I can reproduce the issue when using your excact format of frontmatter. The size of the collections were 0
-
Page collection does not filter category
· 8 years ago
@Jack Are all tutorial and blog pages, children of the current page in the folder structure? Or in other words, are the collections of pages containing category: [excel] or category: [blog] a subset
-
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...