Return to Snippet

Revision: 30257
at August 10, 2010 23:47 by thiswayup


Initial Code
global $modx;
$tvArray = array('link','phone'); //array of the TV names you want to retrieve
$traffInfo = $modx->getTemplateVars($tvArray,'*',29);

Initial URL
joelee.me.uk

Initial Description
If you want to get all the TV from a specific document

Initial Title
Getting all the TV / template variables from a speciifc document for Modx Evolution

Initial Tags
php

Initial Language
PHP