In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ]  Related Changesets ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000485 [In-Portal CMS] Front End feature request N/A 2009-12-23 03:26 2012-07-25 05:29
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.2.0-B3
Status closed Product Version 5.0.2-B1 Target Version 5.2.0
Time EstimateNo estimate
Summary 0000485: Create more control over sent emails
Description We have engine, that allows to sent emails based on user actions throughout the system. Each email content can be directly specified for each language. In case if there is need to create common footer for all sent emails, that site administrator could edit "COMMON.FOOTER" event content and place requested text there.

Such approach doesn't allow to style all sent emails (e.g. styles, images, etc.). I propose to create 2 fields in language record: HtmlEmailTemplate and TextEmailTemplate. Possible format of this variable could be:
<html>
<head>
<title>$subject</title>
</head>
<body>
$body
</head>

Of course <inp2: style tags also could be allowed inside this template. Because of emails are sent from administrative console and from Front-End all paths to external resources like images, styles must be absolute. Contents of current COMMON.FOOTER event should be moved to HtmlEmailTemplate field in format "$body footer here".
Additional Information Add "use_custom_design" parameter during e-mail sending to allow excluding e-mail design usage for individual e-mail events.
Tags No tags attached.
Reference http://groups.google.com/group/in-portal-dev/browse_thread/thread/753364d08cd548eb?hl=en
Change Log Message Allows to centrally specify all e-mail design template
Estimate Points 1
Attached Files patch file icon email_event_design_templates.patch [^] (32,630 bytes) 2012-03-20 04:44 [Show Content]
patch file icon html_design_template_ignored_during_clean_install.patch [^] (1,547 bytes) 2012-03-26 12:23 [Show Content]
patch file icon email_event_design_upgrade_fix.patch [^] (1,561 bytes) 2012-07-16 07:37 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to 0000066needs feedback (Icebox)alex Add Email Details feature to Email Logs 
related to 0001224closed (5.2.0)alex Email event usage refactoring 

-  Notes
User avatar (0004503)
alex (manager)
2012-03-20 04:45

Will test all later together.
User avatar (0004504)
alex (manager)
2012-03-20 04:48

Fix committed to 5.2.x branch. Commit Message:

Fixes 0000485: Create more control over sent emails
User avatar (0004520)
alex (manager)
2012-03-26 12:24

Patch "html_design_template_ignored_during_clean_install.patch" fixes issue, that custom html design template were ignored when multiple modules were installed along with In-Portal.
User avatar (0004787)
alex (manager)
2012-07-16 07:39

Patch "email_event_design_upgrade_fix.patch" fixes problem, when after upgrade users were not able to send any e-mails because of empty COMMON.FOOTER e-mail event prior to upgrading.

Since 5.2.0-B3 version was already released I will merge changes from this patch into it and any upcoming version till now. And recreate archives at www.in-portal.com website too.
User avatar (0004834)
alex (manager)
2012-07-25 05:29

Since 5.2.0 version was released.

- Related Changesets
In-Portal CMS: r15452
Timestamp: 2012-07-16 07:47:59
Author: alex
Details ] Diff ]
Bug 0000485: Create more control over sent emails
1. impossible to send out e-mail with empty COMMON.FOOTER e-mail event prior to upgrade
mod - /in-portal/releases/5.2.0-RC1 Diff ] File ]
mod - /in-portal/releases/5.2.0-RC1/.htaccess Diff ] File ]
mod - /in-portal/releases/5.2.0-RC1/COPYRIGHT Diff ] File ]
mod - /in-portal/releases/5.2.0-RC1/CREDITS Diff ] File ]
mod - /in-portal/releases/5.2.0-RC1/INSTALL Diff ] File ]
mod - /in-portal/releases/5.2.0-RC1/LICENSE Diff ] File ]
mod - /in-portal/releases/5.2.0-RC1/LICENSES Diff ] File ]
mod - /in-portal/releases/5.2.0-RC1/README Diff ] File ]
mod - /in-portal/releases/5.2.0-RC1/core/install/upgrades.php Diff ] File ]
mod - /in-portal/releases/5.2.0-RC1/index.php Diff ] File ]
mod - /in-portal/releases/5.2.0-RC1/robots.txt Diff ] File ]
In-Portal CMS: r15451
Timestamp: 2012-07-16 07:47:24
Author: alex
Details ] Diff ]
Bug 0000485: Create more control over sent emails
1. impossible to send out e-mail with empty COMMON.FOOTER e-mail event prior to upgrade
mod - /in-portal/releases/5.2.0-B3 Diff ] File ]
mod - /in-portal/releases/5.2.0-B3/.htaccess Diff ] File ]
mod - /in-portal/releases/5.2.0-B3/COPYRIGHT Diff ] File ]
mod - /in-portal/releases/5.2.0-B3/CREDITS Diff ] File ]
mod - /in-portal/releases/5.2.0-B3/INSTALL Diff ] File ]
mod - /in-portal/releases/5.2.0-B3/LICENSE Diff ] File ]
mod - /in-portal/releases/5.2.0-B3/LICENSES Diff ] File ]
mod - /in-portal/releases/5.2.0-B3/README Diff ] File ]
mod - /in-portal/releases/5.2.0-B3/core/install/upgrades.php Diff ] File ]
mod - /in-portal/releases/5.2.0-B3/index.php Diff ] File ]
mod - /in-portal/releases/5.2.0-B3/robots.txt Diff ] File ]
In-Portal CMS: 5.2.x r15450
Timestamp: 2012-07-16 07:40:55
Author: alex
Details ] Diff ]
Bug 0000485: Create more control over sent emails
1. impossible to send out e-mail with empty COMMON.FOOTER e-mail event prior to upgrade
mod - /in-portal/branches/5.2.x/core/install/upgrades.php Diff ] File ]
In-Portal CMS: 5.2.x r15238
Timestamp: 2012-03-26 12:25:31
Author: alex
Details ] Diff ]
Bug 0000485: Create more control over sent emails
1. Fixes issue, that custom html design template were ignored when multiple modules were installed along with In-Portal.
mod - /in-portal/branches/5.2.x/core/units/helpers/language_import_helper.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/languages/languages_config.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/languages/languages_event_handler.php Diff ] File ]
In-Portal CMS: 5.2.x r15225
Timestamp: 2012-03-20 04:48:10
Author: alex
Details ] Diff ]
Fixes 0000485: Create more control over sent emails
mod - /in-portal/branches/5.2.x/core/admin_templates/regional/languages_edit.tpl Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install/english.lang Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install/install_schema.sql Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install/upgrades.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install/upgrades.sql Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/utility/email.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/email_events/email_events_event_handler.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/helpers/email_message_helper.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/helpers/helpers_config.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/helpers/language_import_helper.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/languages/languages_config.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/languages/languages_event_handler.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2012-07-25 05:29 alex Note Added: 0004834
2012-07-25 05:29 alex Status resolved => closed
2012-07-16 07:47 alex Changeset attached r15452
2012-07-16 07:47 alex Changeset attached r15451
2012-07-16 07:40 alex Changeset attached 5.2.x r15450
2012-07-16 07:39 alex Note Added: 0004787
2012-07-16 07:37 alex File Added: email_event_design_upgrade_fix.patch
2012-03-26 12:25 alex Changeset attached 5.2.x r15238
2012-03-26 12:24 alex Note Added: 0004520
2012-03-26 12:23 alex File Added: html_design_template_ignored_during_clean_install.patch
2012-03-20 04:48 alex Note Added: 0004504
2012-03-20 04:48 alex Status reviewed and tested => resolved
2012-03-20 04:48 alex Fixed in Version => 5.2.0-B3
2012-03-20 04:48 alex Resolution open => fixed
2012-03-20 04:48 alex Assigned To !COMMUNITY => alex
2012-03-20 04:48 alex Changeset attached 5.2.x r15225
2012-03-20 04:47 alex Description Updated View Revisions
2012-03-20 04:47 alex Additional Information Updated View Revisions
2012-03-20 04:45 alex Note Added: 0004503
2012-03-20 04:45 alex Status needs testing => reviewed and tested
2012-03-20 04:45 alex Assigned To => !COMMUNITY
2012-03-20 04:45 alex Developer => alex
2012-03-20 04:45 alex Status active => needs testing
2012-03-20 04:44 alex File Added: email_event_design_templates.patch
2012-03-20 04:44 alex File Deleted: email_event_design_templates.patch
2012-03-20 04:44 alex Change Log Message => Allows to centrally specify all e-mail design template
2012-03-20 04:39 alex Target Version Icebox => 5.2.0
2012-03-20 04:39 alex Estimate Points => 1
2012-03-20 04:39 alex File Added: email_event_design_templates.patch
2012-03-14 12:11 alex Relationship added related to 0001224
2012-03-14 12:11 alex Relationship added related to 0000066
2009-12-23 03:27 alex Target Version => Icebox
2009-12-23 03:26 alex New Issue
2009-12-23 03:26 alex Reference => http://groups.google.com/group/in-portal-dev/browse_thread/thread/753364d08cd548eb?hl=en



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker