Maybe getField would be a snippet you could use to save you reinventing the wheel?
It’s saved me a lot of messing around, a lot of times.
Taff
Adrian Lawley: www.adrianlawley.com
Hi Highlander, I know that the getField can probably do what you want, but you were on to something with the getTemplateVarOutput, but instead of the
if(isset($tvs[’ZoomImage’]))
use !empty
if(!empty($tvs[’ZoomImage’]))
seemed to work for me....personally, I’d rather use a few lines of code instead of installing another snippet.
- Fritz