Skip to content

new template tag [between] needed in frontier #35

@carlosrovira

Description

@carlosrovira

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions