Im working on a reusable block picker for a sidebar of cta's. Im also working quite heavily with the grid through a possibly original misguided path i took when creating the site.
So ive created a content type of reusable grid blocks where users can create different types of grid content. I then created a doctype of sidebarCTA with a content picker and used something like this:
This works fine and shows the selected bit of content. The client wants to select multiple rather than putting multiple CTA's in the grid.
So i thought about using the Multi-node tree picker, but not sure if this is the best option, it allows them to select the relevant CTA's but i cant get the selected to render.
Thanks for the reply Frans, looks useful. Im out of the office for a few days now but will get onto trying this as soon as im back. Will let you know how i get on.
Reusable blocks and showing multiple
Hi All,
Im working on a reusable block picker for a sidebar of cta's. Im also working quite heavily with the grid through a possibly original misguided path i took when creating the site.
So ive created a content type of reusable grid blocks where users can create different types of grid content. I then created a doctype of sidebarCTA with a content picker and used something like this:
This works fine and shows the selected bit of content. The client wants to select multiple rather than putting multiple CTA's in the grid.
So i thought about using the Multi-node tree picker, but not sure if this is the best option, it allows them to select the relevant CTA's but i cant get the selected to render.
Can anyone offer any advice?
If you use the MNTP you can indeed pick and sort multiple sidebar grid instances.
The code could look something like this:
Not the most elegant/efficient way but it should work.
Thanks for the reply Frans, looks useful. Im out of the office for a few days now but will get onto trying this as soon as im back. Will let you know how i get on.
No problem. Glad to help.
is working on a reply...