Author: mtorres
Date: 2010-05-19 06:27:19 +0200 (Wed, 19 May 2010)
New Revision: 29515
Modified:
plugins/mtAlertPlugin/trunk/README
plugins/mtAlertPlugin/trunk/config/app.yml
plugins/mtAlertPlugin/trunk/lib/filter/base/
plugins/mtAlertPlugin/trunk/lib/form/base/
plugins/mtAlertPlugin/trunk/lib/model/map/
plugins/mtAlertPlugin/trunk/lib/model/om/
plugins/mtAlertPlugin/trunk/lib/mtAlertConfiguration.class.php
Log:
README modified. Rich text disabled by default. svn:ignore properties setup.
Modified: plugins/mtAlertPlugin/trunk/README
===================================================================
--- plugins/mtAlertPlugin/trunk/README 2010-05-19 04:12:33 UTC (rev 29514)
+++ plugins/mtAlertPlugin/trunk/README 2010-05-19 04:27:19 UTC (rev 29515)
@@ -9,7 +9,7 @@
app.yml
all:
mt_alert_plugin:
- credentials: [patrimonio_admin, patrimonio_center_admin,
patrimonio_unit_admin, patrimonio_unit]
+ credentials: [admin, center_admin, unit_admin, unit]
* The plugin admin modules should be enabled in the settings.yml file to be
able to add and configure alerts
@@ -39,12 +39,15 @@
mt_alert_plugin:
credentials: [admin, center_admin,
unit_admin, unit]
+ app_mt_alert_plugin_enable_rich_text: false
+ app_mt_alert_plugin_tiny_mce_theme: simple
mail_subject: "App Name | %%title%%"
mail_from: "[email protected]"
mail_retrieve_mails_method: ['UserHelper',
'getMailsByUsernames']
mail_retrieve_usernames_by_credential_method: ['UserHelper',
'getUsernamesByCredential']
mail_retrieve_all_mails_method: ['UserHelper',
'getAllMails']
+ * If you want you can use a rich text editor when creating the alerts. You
need to install sfFormExtraPlugin, download the tiny_mce library and set it all
up. After that you must enable the rich text feature in the mt_alert_plugin
app.yml section
Usage:
1. Administration:
Modified: plugins/mtAlertPlugin/trunk/config/app.yml
===================================================================
--- plugins/mtAlertPlugin/trunk/config/app.yml 2010-05-19 04:12:33 UTC (rev
29514)
+++ plugins/mtAlertPlugin/trunk/config/app.yml 2010-05-19 04:27:19 UTC (rev
29515)
@@ -1,6 +1,8 @@
#all:
# mtAlertPlugin:
# credentials: []
+# app_mt_alert_plugin_enable_rich_text: false
+# app_mt_alert_plugin_tiny_mce_theme: simple
# mail_subject: "App name | %%title%%"
# mail_from: "[email protected]"
# mail_retrieve_mails_method: ['Class', 'StaticMethod']
#This method should retrieve the email address of an array of usernames passed
as parameter.
Property changes on: plugins/mtAlertPlugin/trunk/lib/filter/base
___________________________________________________________________
Added: svn:ignore
+ *
Property changes on: plugins/mtAlertPlugin/trunk/lib/form/base
___________________________________________________________________
Added: svn:ignore
+ *
Property changes on: plugins/mtAlertPlugin/trunk/lib/model/map
___________________________________________________________________
Added: svn:ignore
+ *
Property changes on: plugins/mtAlertPlugin/trunk/lib/model/om
___________________________________________________________________
Added: svn:ignore
+ *
Modified: plugins/mtAlertPlugin/trunk/lib/mtAlertConfiguration.class.php
===================================================================
--- plugins/mtAlertPlugin/trunk/lib/mtAlertConfiguration.class.php
2010-05-19 04:12:33 UTC (rev 29514)
+++ plugins/mtAlertPlugin/trunk/lib/mtAlertConfiguration.class.php
2010-05-19 04:27:19 UTC (rev 29515)
@@ -9,7 +9,7 @@
static public function getEnableRichText()
{
- return sfConfig::get('app_mt_alert_plugin_enable_rich_text', true);
+ return sfConfig::get('app_mt_alert_plugin_enable_rich_text', false);
}
static public function getTinyMCETheme()
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.