-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation With Templating Examples #13
Comments
Cheers 👍 Absolutely, It's something I'm working on. For the most part it should work the same as Matrix fields. I'm working on having the template API be the same as entries in structures, so at the moment there's not a whole lot of support for handling child blocks. Fun fact though, you can use the I actually haven't really advertised this plugin yet for this exact reason, but somehow people have found it, haha. |
re: Templating. How do we get to, loop through and render the child blocks? |
Right. If we use block.children we get ALL the children regardless of entry. |
Here we go:
where "multiColumn" is the parent and 'column' the children. EDIT: nah. still get 'em all. the children don't know who their parent neoBlock is. |
Hey @smockensturm sorry this has been trouble for you. Frustratingly this feature has been pretty hard to implement, but I've held back from advertising this plugin and writing the docs until it's implemented. I've just released |
Fantastic! Works a charm. On behalf of our entire team, we thank you. Looking forward to what you get up to. |
My pleasure, thanks for using the plugin! |
Thanks for a brilliant plugin!
Would love to eventually see some documentation with examples of templating and so forth. Various basic use cases perhaps.
The text was updated successfully, but these errors were encountered: