Karmalakas Veteran
@Karmalakas · Joined 6 years ago · 1189 posts · 33 topics · 218 reputation
Badges
Recent posts
-
Save Failed: Trying to get property 'length' of non-object
· 5 years ago
Could you fix your code block so that full blueprint would be in it?
-
Search pages by slug or title in Admin (Grav version 1.7)
· 5 years ago
Did some debugging and I'm pretty confident it's a bug. Not sure how to solve though, so created an issue
-
Search pages by slug or title in Admin (Grav version 1.7)
· 5 years ago
I will check after work or tomorrow how I have done my custom flex objects. I have multiple fields searchable and I assume it shouldn't be very different for Pages 🤔 Edit: Apparently you are right and
-
Search pages by slug or title in Admin (Grav version 1.7)
· 5 years ago
Check my previous comment about The Modification section step 5 on the Readme of FO. Maybe this would help. I'm at work now, so can't really test everything :(
-
Search pages by slug or title in Admin (Grav version 1.7)
· 5 years ago
Basically pages are flex objects and flex objects config (scroll down a bit to the section explaining search) accepts which fields should be searchable. If that's not enough, please check The Modifica
-
Search pages by slug or title in Admin (Grav version 1.7)
· 5 years ago
I believe extending grav-plugin-flex-objects/blueprints/flex-objects/pages.yaml and adding something like: config: data: search: fields: - folder - title - slug sho
-
Static access of page header in conditional field
· 5 years ago
So page is actually there, but it's an admin currently open page? :) That's what I was thinking, but as I saw you try to access page.header..., I assumed it must be a front-end form
-
Static access of page header in conditional field
· 5 years ago
Good question actually. Docs say Any variable accessible by twig So page should also be available, but now I'm thinking if this might be related to the issue, where form might not have a page 🤔 @pam
-
Static access of page header in conditional field
· 5 years ago
I suppose, if your condition returns 0 or 1, it won't work. It should be true or false. Or you can return strings yourself. Check example in the docs
-
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