amirm Reply #1, 4 years, 9 months ago
This snippet is used for displaying data from a database while allowing to format each row with a chunk.
In addition, each database field's value can be transformed with a defined function. For example, a long text can be shortened, a date field can be formatted, etc.
The snippet will loop over a database table and for
each row will inject some (or all) of the fields into placeholders
contained in a chunk.
See documentation in the attached file readme.txt
Any feedback is welcome, including suggestions for a better name...
update (sep 04, 2007):
released a new version, 1.0 , with pagination support.
update (jan 29 200
:
released a new version, 1.1
update (may 28 200
:
released a new version, 1.2. Main change - fixes a bug when a placeholder exists more than once in a chunk
Amir
In addition, each database field's value can be transformed with a defined function. For example, a long text can be shortened, a date field can be formatted, etc.
The snippet will loop over a database table and for
each row will inject some (or all) of the fields into placeholders
contained in a chunk.
See documentation in the attached file readme.txt
Any feedback is welcome, including suggestions for a better name...
update (sep 04, 2007):
released a new version, 1.0 , with pagination support.
update (jan 29 200
:released a new version, 1.1
update (may 28 200
:released a new version, 1.2. Main change - fixes a bug when a placeholder exists more than once in a chunk
Amir
