Solution!
We were able to accomplish this by adding a new global variable and adding a check to the template handler file.
This is what we did:
edit /custom/modules/accounts/metadata/detailviewdefs.php
--added at the top of the file:
Code:
$GLOBALS['Reload_Template'] = TRUE;
edit /include/TemplateHandler/TemplateHandler.php
--in the function displayTemplate change the 1st if statement to:
Code:
if((!$this->checkTemplate($module, $view)) || ($GLOBALS['Reload_Template'])) { --added after the 1st if statement:
Code:
$GLOBALS['Reload_Template'] = "";
So far this does exactly what we need it to do.
Besides not being upgrade safe, is there anything that we could have done differently?
Thanks
Dave
Bookmarks