Quote:
Originally Posted by Lynne
There is more to registering a variable than just what you wrote above. That one part is correct for that part. But, we'd need to see the whole thing in order to see that you did it correctly.
|
Hi Lynne and thanks for your attention

.
At present the list of variables are all bunched up together on my .xml document between </templates> and <plugins>.
PHP Code:
</templates>
$templater->register('vcaccounts_table_title', $vcaccounts_table_title);
$templater->register('vcaccounts_table_title', $vcaccounts_table_subtitle);
$templater->register('vcaccounts_currency', $vcaccounts_currency);
$templater->register('vcaccounts_date', $vcaccounts_date);
$templater->register('vcaccounts_donthanks', $vcaccounts_donthanks);
$templater->register('vcaccounts_donators', $vcaccounts_donators);
$templater->register('vcaccounts_Row_1_Value', $vcaccounts_Row_1_Value);
$templater->register('vcaccounts_Row_2_Value', $vcaccounts_Row_2_Value);
$templater->register('vcaccounts_Row_3_Value', $vcaccounts_Row_3_Value);
$templater->register('vcaccounts_Row_4_Value', $vcaccounts_Row_4_Value);
$templater->register('vcaccounts_Row_5_Value', $vcaccounts_Row_5_Value);
$templater->register('vcaccounts_Row_6_Value', $vcaccounts_Row_6_Value);
$templater->register('vcaccounts_Row_7_Value', $vcaccounts_Row_7_Value);
$templater->register('vcaccounts_Row_8_Value', $vcaccounts_Row_8_Value);
$templater->register('totaldebits', $totaldebits);
$templater->register('totalcredits', $totalcredits);
$templater->register('totaltotal', $totaltotal);
print_output($templater->render());
<plugins>
I've experimented with placing them at the bottom of the main template, within a plugin and even at the bottom of the .php file. Everything else seems to function properly except those 3 $totals or/and the associated plugin.
[S]I've attached the .xml and .php files in case that might assist with spotting what I've done wrong.[/S] Removed attachment.