Karmalakas Veteran
@Karmalakas · Joined 6 years ago · 1180 posts · 28 topics · 215 reputation
Badges
Recent posts
-
Does grav have the concept of relational links (many to many, one to many, etc.)?
· 5 years ago
There's a Pages field, which supports multiple option. Although assigning one page to another won't link them as you imagine. That other page won't know it's linked to the first one, unless you also m
-
When using responsive images, is it possible to crop to as aspect ratio?
· 5 years ago
I only remembered it because it was my issue 😅 /forum/plugins/plugin-to-resize-image-and-create-srcset-t5754?u=karmalakas
-
When using responsive images, is it possible to crop to as aspect ratio?
· 5 years ago
I guess this and this (@pamtbaau, check the latter 😉) are related and still not fixed/developed. As mentioned, probably won't happen until Grav 2.0
-
How can I get page images by index?
· 5 years ago
Was also thinking about the keys, but somehow then it just slipped :D Much simpler than slicing :)
-
How can I get page images by index?
· 5 years ago
For the prettyness you might try {{ page.media.images|[1:1]|first }} 😃
-
Each Login User has a own Page
· 5 years ago
Well, I didn't have to deal with permissions and restrictions stuff yet, so can't really suggest much (or even don't really want to), because my advice might lead to some leak of information to users
-
Each Login User has a own Page
· 5 years ago
Grav is flexible enough, so that on the same route (eg. /club) different content could be shown for different users. Isn't this what you want? Of course it would require a custom plugin to achieve tha
-
How can I get page images by index?
· 5 years ago
If you were to dump(page.media.images), you'd notice the keys aren't numeric, but rather a file names. So you can access your image object like page.media.images['filename.jpeg']. Having this in mind,
-
Markdown-details customization
· 5 years ago
Not sure I now understand :D What are each sidebars for (left and right)? If the right (collapsible and added via markdown) sidebar links refresh the page, isn't it a navigation sidebar? If these lin
-
Markdown-details customization
· 5 years ago
@bitstarr: You really should implement a specific navigation component in your theme for this - because it’s a navigation. Totally agree with this. Two navigation menus should be used here in a templ