hi
TV image is not shown in a template calling snippet. TV belongs to this template
Snippet call: [[!getLogo]]
Snippet code:
return $modx->getObject('modResource', 4)->getTVValue('logo');
help
-
☆ A M B ☆
- 24,524 Posts
It doesn't matter what template the TV is assigned to when it's being displayed. It only matters when editing resources.
Are you sure the resource you want to get the TV value from is resource #4? And are you sure that resource #4 has a value in the 'logo' TV?