MODX Community

Parsing a resource line by line

Hello,

I am building a web site for an artist group where the users are entering a list of where they have exhibited into a text template variable and I would like to parse this to give more flexibility in the final layout.

Has anyone parsed the contents of a template variable on a line by line basis? I am assuming the best way to do this is to use a modifier.

Kind regards

James

You could create a custom output modifier, but personally I would create a MIGX template variable for the list.

I went for a custom output modifier and it was easier than I imagined. The TV is a text box and I also strip out any html.

Thanks for the suggestion