Karmalakas Veteran
@Karmalakas · Joined 6 years ago · 1180 posts · 28 topics · 215 reputation
Badges
Recent posts
-
Newbie problem: Can not get collection json output
· 5 years ago
OK, here it is 🙂 https://github.com/Karmalakas/grav-plugin-flex-objects-json Check the README how to use, install by using Manual method and tell me if that's what you wanted ;)
-
Newbie problem: Can not get collection json output
· 5 years ago
Could you paste the contents of /user/templates/flex-objects.html.twig? And where did it come from? Did you copy it from FO plugin? How both templates get rendered if both extend base template? I beli
-
Newbie problem: Can not get collection json output
· 5 years ago
Now I'm lost too. You said on several occasions I think, that /user/templates/default.html.twig is rendered, but now you say it's /user/templates/flex-objects.html.twig 🙂 Did you change something? Any
-
Newbie problem: Can not get collection json output
· 5 years ago
Do you see your objects on the page if you navigate to it without a .json extension? If so, I would have to figure out how collections are rendered 🤔 Could you also share the frontmatter of the resolv
-
Newbie problem: Can not get collection json output
· 5 years ago
Which template gets resolved (full path from /user would be good) when you visit your page without .json extension where you see your objects listed? I understand objects are listed on page, right?
-
Newbie problem: Can not get collection json output
· 5 years ago
OK, I think i know where you should start looking at. The place where you have {% include 'flex-objects/page.html.twig' %}. This most likely is called from another ...html.twig template, which your pa
-
Newbie problem: Can not get collection json output
· 5 years ago
I assume you did everything by this example and you have json listed in system.yaml (default is pages: types: [html,htm,xml,txt,json,rss,atom]) and you also have templates named as they should be de
-
Newbie problem: Can not get collection json output
· 5 years ago
What's in your default.json.twig?
-
Deactivated plugin still being used with Grav 1.7
· 5 years ago
I guess you can avoid saving of each value (at least to some extent) with toggleable: true
-
Deactivated plugin still being used with Grav 1.7
· 5 years ago
@mathmax: Instead of copying the whole file like advised by the documentation, I would prefer to only copy the settings that I want to change If you were to use Admin, keep in mind, that saving setti