[cvs] [Wiki] changed: IngoMulti

Wiki Guest wiki at wiki.horde.org
Fri Jun 17 11:57:58 PDT 2005


guest [203.145.159.37]  Fri, 17 Jun 2005 11:57:58 -0700

Modified page: http://wiki.horde.org/IngoMulti
New Revision:  1.1
Change log:  New how to created

@@ -1 +1,69 @@
+To be able to use two or more backends in Ingo.
+
+change to horde base directory
+
+#!/usr/bin/bash
+#Script start
+cp ingo imgo -R
+cd imgo
+perl -p -i -e "s/Ingo/Imgo/g" * *
+perl -p -i -e "s/ingo/imgo/g" * *
+perl -p -i -e "s/INGO/IMGO/g" * *
+cd lib
+perl -p -i -e "s/Ingo/Imgo/g" * *
+perl -p -i -e "s/ingo/imgo/g" * *
+perl -p -i -e "s/INGO/IMGO/g" * *
+cd Script
+perl -p -i -e "s/Ingo/Imgo/g" * *
+perl -p -i -e "s/ingo/imgo/g" * *
+perl -p -i -e "s/INGO/IMGO/g" * *
+cd ..
+cd Driver
+perl -p -i -e "s/Ingo/Imgo/g" * *
+perl -p -i -e "s/ingo/imgo/g" * *
+perl -p -i -e "s/INGO/IMGO/g" * *
+cd ..
+cd Storage
+perl -p -i -e "s/Ingo/Imgo/g" * *
+perl -p -i -e "s/ingo/imgo/g" * *
+perl -p -i -e "s/INGO/IMGO/g" * *
+cd ../../
+cd templates
+perl -p -i -e "s/Ingo/Imgo/g" * *
+perl -p -i -e "s/ingo/imgo/g" * *
+perl -p -i -e "s/INGO/IMGO/g" * *
+cd ..
+cp imgo/themes/graphics/ingo.png imgo/themes/graphics/imgo.png
+echo "end"
+#script end
+
+There may be a better way of finding and replacing words in all the subfolders, please feel free to edit this page and put that method here.
+
+edit
+imgo/config/backend.php for the backend to use for the second ingo.
+
+I have used imap in the first ingo and procmail in imgo.
+
+edit
+horde/config/registry.php
+
+add the following below ingo
+
+$this->applications['imgo'] = array(
+    'fileroot' => dirname(__FILE__) . '/../imgo',
+    'webroot' => $this->applications['horde']['webroot'] . '/imgo',
+    'name' => _("Mail Actions"),
+    'status' => 'active',
+    'provides' => array('mail/blacklistFrom', 'mail/showBlacklist', 'mail/whitelistFrom', 'mail/sh
+owWhitelist', 'mail/applyFilters', 'mail/canApplyFilters', 'mail/showFilters'),
+    'menu_parent' => 'imp'
+);
+
+Now you would be able to use two filter backends. In case you want more, you can always make one more copy of ingo.
+
+Jigish
+
+
+
+
 


More information about the cvs mailing list