csvToTpl

Creator: Andrew Ward (scorchsoft)

Need help installing this extra?

About csvToTpl

csvToTpl is a simple snippet that takes a CSV string and outputs it iteratively into a tpl file. This way you can use a simple CSV string to output a list of items (or similar).

Simple usage:[[!csvToTpl? &csv=`my, text, csv` &tpl=`myTpl.tpl`]]

Use a different tpl for a certain item:[[!csvToTpl? &csv=`my, text, csv` &tpl=`myTpl.tpl`  &tpl_3=`myTpl3.tpl`]]note: the first tpl is &tpl_0

tpl variables:[[+item]] = the item in the CSV array

Information

Released
October 29, 2014

Supported Database
MySQL, SQL Server

License
GPLv2

Supported Versions
2.2 - <2.3

Downloads
796

Instructions

To install the extra simply install from within package manager. No databases or unique file structures are required to use this extra.

Current releases

1.0.1-pl1
View | Download
October 29, 2014
2.2 - <2.3