Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Alexander Kim Member
@heihachi88 · Joined 8 years ago · 77 posts · 28 topics · 5 reputation
Badges
Recent posts
-
Complex collections depending on Frontmatter headers and it's value?
· 8 years ago
@Utis: Ah, I understand now that there’s only ever to be one page with that flag. Yeah, it seems like it’s not possible to break from a for loop in Twig. Only one will be shown (in frontend - to the
-
Complex collections depending on Frontmatter headers and it's value?
· 8 years ago
Documentation is clearly missing information about filtering collections. I guess, grav team is not implemented this kind of things yet. So you've ended using taxonomies or like this: {% set options =
-
Complex collections depending on Frontmatter headers and it's value?
· 8 years ago
I'll explain the logic behind it. In admin section i've added field of type "toggle" (using blueprints) with options - yes or no. When admin toggles this to yes, then this page is going to be shown on
-
Complex collections depending on Frontmatter headers and it's value?
· 8 years ago
Thank you for your answer, i think it's trivial task, that everyone would want to do, it's just like u're doing a SELECT page WHERE main_article = true query from database , i just want to get all pag
-
Complex collections depending on Frontmatter headers and it's value?
· 8 years ago
nobody needed that functionality?
-
Complex collections depending on Frontmatter headers and it's value?
· 8 years ago
Include partial view with a complex collection: {% include 'partials/article-main.html.twig' with {'page': #here goes condition} %} How can i choose all pages, that has a field named main_article in t
-
How to automatically rename imagefile on upload?
· 8 years ago
If you upload image file using "Page Media" field in Admin plugin, then it would upload with original name (if you had spaces, cyrillic characters, etc). How can we automatically rename it? Just as us
-
Bug with multiple upload fields
· 8 years ago
Where do you read that? I think its not right.
-
Bug with multiple upload fields
· 8 years ago
U're not alone. I've noticed this behavior today either: https://github.com/getgrav/grav/issues/1950
-
How to display attached image
· 8 years ago
For example: user uploads one image using media_order field. How can he link to that image in markdown editor?