Per-campaign templates are broken by a reference to
an undefined variable.
CampaignApp.class.php looks for the Smarty templates
in the wrong place because
$application_vars['doc_root'] is not defined.
A suggested fix is below and attached (for
potentially better formatting).
diff -u -r1.1 -r1.2
--- CampaignApp.class.php 4 Jan 2006 19:41:40
-0000 1.1
+++ CampaignApp.class.php 11 Jan 2006 18:34:34
-0000 1.2
@@ -37,7 +37,7 @@
}
$this->view->add_template_dir(sprintf("%s/%s/%s/%s/",
-
$application_vars['doc_root'],
+
$this->application_var('doc_root'),
"style/campaigns",
$this->campaign->site_path,
"templates"
patch to fix per-campaign Smarty templates