Thanks for the quick reply. I didn't change the template code, only the variables. Not specifying the $path when creating PHPTAL_StringSource causes the same output for every subsequent call of the resolve function. The function is called once for every article, so this doesn't seem to work.
What does work is if I call $phptal->setForceReparse(true) after creating the PHPTal class. Regards, Bas _______________________________________________ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal