Hi there,
Running Revo 2.1.3pl.
Have a blank template:
[[!testing1234]]
[[*promo_title]]
Code in testing1234:
$hello = $modx->resource->getMany('TemplateVars');
foreach($hello as $failtown)
{
echo '<p>Name: '.$failtown->get('name').'| Value:'.$failtown->get('value').'</p>';
}
First time the page runs I see all TV's printed, and I see the last TV promo_title printed also.
A cache file is generated.
When I press F5, I get a list of all the TV's, but the values are blank!!! Whats weird is the promo_title is not. It has a value.
Problem: Why are the TV's available in a template, but blank on the second load when I query them in a snippet?!?
Have I gone mad?