'Add/remove' buttons when creating blocks in 5.6
Permalink
Is there a guide somewhere that details how to include the functionality when creating blocks to add and remove instances of that block in the same edit form? For example, the standard slideshow block in Concrete 5.6 allows you to add a new slide rather than having a fixed number of say, three or four.
At the moment I am accomplishing this by treating each new (slide, for example) as a separate block. Then, on page load, I wrap them all in JavaScript and initialize the slider, which is not ideal.
NB I'm not trying to create a slider, just learn how to add the described functionality but I lack the terminology to find a solution and I'm using a slider as an example, just in case anyone recommends a particular slider block.
At the moment I am accomplishing this by treating each new (slide, for example) as a separate block. Then, on page load, I wrap them all in JavaScript and initialize the slider, which is not ideal.
NB I'm not trying to create a slider, just learn how to add the described functionality but I lack the terminology to find a solution and I'm using a slider as an example, just in case anyone recommends a particular slider block.
Is this the tutorial you're referring to?http://c5blog.jordanlev.com/blog/2011/12/build-a-slideshow-block/...
If so, isn't this using filesets, not a custom selection?
If so, isn't this using filesets, not a custom selection?
Also see some of the projects in the first link from
http://www.concrete5.org/documentation/how-tos/designers/missing-an...
In particular, Jordanlev's tutorial slideshow.
You can also use the Designer Content Pro addon to set up the edit dialog for you.
All are pre 5.7.