We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Passing variables inside block templates
I am trying out blocks. I's superb. But there's one thing I am having a block with brain-wise.
I have a bootstrap image carousel inside one block that has two loops using the same set of data (one displays the images, the other the indicators).
Previously I would have displayed this using perch_custom_content from a layout template and used two templates - one for each loop. But now the carousel is called from a block inside an html file. How do I pass variables from one html template to another? i.e. from the carousel image template to the carousel indicator template?
Am I being a totally numpty?
Want to reply to this thread?Login with Perch