Template Variable Output Type: TVSnippEdit
Since: September 17th, 2011
Author: Denis Galkin
A custom Output Render type for TVs, that renders the TV by the snippet you specify.
Just create a TV and specify "TVSnippEdit" as a TV output. You can use whatever type you want as the input.
Then specify in the "Snippet Name" the name of the snippet, which will perform the parsing for you.
The snippet then will have the $input variable with the TV data, which you can parse as you wish.
If you return an empty string or if the snippet is unexistant, then the original TV data is returned. If you want to send a blank data - return one space.
- First seen
- Supported databases
- MySQL SQL Server
- Minimum MODX Requirement
|MODX.com||0.1-alpha||2011-09-19 (8 years ago)|