From dfef678b06f51044faf32ae79faf5f3c4588732f Mon Sep 17 00:00:00 2001 From: Martin Kamerbeek Date: Mon, 1 May 2006 08:56:21 +0000 Subject: [PATCH] Adding the graphing plugins to the config file --- docs/upgrades/upgrade_6.8.8-6.99.0.pl | 8 ++++++++ etc/WebGUI.conf.original | 9 ++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/upgrades/upgrade_6.8.8-6.99.0.pl b/docs/upgrades/upgrade_6.8.8-6.99.0.pl index d181d524b..d6286b112 100644 --- a/docs/upgrades/upgrade_6.8.8-6.99.0.pl +++ b/docs/upgrades/upgrade_6.8.8-6.99.0.pl @@ -1142,6 +1142,14 @@ GRAPH4 # Update Poll table. $session->db->write('alter table Poll add column graphConfiguration text'); $session->db->write('alter table Poll add column generateGraph tinyint(1)'); + + # Add plugins to the config file + $session->config->set('graphingPlugins', [ + "WebGUI::Image::Graph::XYGraph::Bar", + "WebGUI::Image::Graph::XYGraph::Line", + "WebGUI::Image::Graph::Pie", + ]); + } # ---- DO NOT EDIT BELOW THIS LINE ---- diff --git a/etc/WebGUI.conf.original b/etc/WebGUI.conf.original index e7265fed2..d1c9ff627 100644 --- a/etc/WebGUI.conf.original +++ b/etc/WebGUI.conf.original @@ -322,7 +322,14 @@ "WebGUI::Workflow::Activity::TrashVersionTag", "WebGUI::Workflow::Activity::CreateCronJob", "WebGUI::Workflow::Activity::UnlockVersionTag", "WebGUI::Workflow::Activity::NotifyAboutVersionTag", "WebGUI::Workflow::Activity::RequestApprovalForVersionTag", "WebGUI::Workflow::Activity::ExportVersionTagAsHtml"] - } + }, +# Enter the graphing plugins that you want to enable for your site. + +"graphingPlugins" : [ + "WebGUI::Image::Graph::Pie", + "WebGUI::Image::Graph::XYGraph::Bar", + "WebGUI::Image::Graph::XYGraph::Line" + ]; }