Hi I'm using frontier template tags extensively. I found a case where I need a new tag: [between]
The Use Case: I'm coding a chart in a template. I use [before] and [after] tags to define the javascript needed for the chart. The chart data is build with array notation (i.e: ["RM01", {@data1},{@data2}, 25])
The problem is that each array for each element needs to end with a "," character. All but the last that has nothing.
We only has "[once]" tag and nothing more. I think we need [between] so we can output things between an item and the following (so nothing is outputted before the first item and nothing after the last item).
I would want to help developing this feature, if someone could point me where I should have to look into the code so I could make it work and propose a pull request.
Thanks
Hi I'm using frontier template tags extensively. I found a case where I need a new tag: [between]
The Use Case: I'm coding a chart in a template. I use [before] and [after] tags to define the javascript needed for the chart. The chart data is build with array notation (i.e: ["RM01", {@data1},{@data2}, 25])
The problem is that each array for each element needs to end with a "," character. All but the last that has nothing.
We only has "[once]" tag and nothing more. I think we need [between] so we can output things between an item and the following (so nothing is outputted before the first item and nothing after the last item).
I would want to help developing this feature, if someone could point me where I should have to look into the code so I could make it work and propose a pull request.
Thanks