Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-555

Improvements to "E-mail Template" editing

    XMLWordPrintable

    Details

    • Additional information:
      Hide

      As part of task "Translation system refactoring" #285 we have done major rework for translation system and still needed to fully cover functionality for Email Events. This will be done in this task.

      Show
      As part of task "Translation system refactoring" #285 we have done major rework for translation system and still needed to fully cover functionality for Email Events. This will be done in this task.
    • Change Log Message:
      Reworked E-mail Template editing
    • External issue ID:
      704
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      Below is a list of things to be addressed:

      [B]1. Introduce 2 tabs when Editing an Email Event:[/B]

      a. General - will list all basic fields/information that we have NOW in 5.0.x branch.
      b. Event Settings - will list all other fields (more advanced). The idea is that we can always hide Event Settings tab if needed.

      [B][I]NOTES:[/I][/B]

      a. For now don't worry about order of fields on Event Settings tab. This will be done by me (Dmitry) and coordinated with Interfaces team.

      [B]2. Refactor From/ToUser field (on Settings tab):[/B]

      • Allow Changing Sender [X] - field is ON by default and VISIBLE in DBG only

      ====== Always Visible, but Editable if DBG + "Allow Changing Sender" ======

      • Send Email From: (X) Default Website address ( ) Custom Sender
      • Send From Address: [drop-down with Email, User, Group options] [_ Auto-complete based on drop-down_] - REQUIRED
      • Send From Name: [__text__]
        ============
      • Allow Changing To Recipient [X] - field is ON by default and VISIBLE in DBG only

      ====== Always Visible, but Editable if DBG + "Allow Changing To Recipient" ======

      • Send Email To: (X) Default Website address ( ) Custom Recipients
      • Recipient Type: To ( ) Cc ( ) Bcc - To visible when "Custom Recipients" radio is selected
      • Recipient Address: [drop-down with Email, User, Group options] [_ Auto-complete based on drop-down_] - REQUIRED
      • Recipient Name: [__text__]
      • Recipients: [ ....... ] - multi input control (like on custom field editing)
        ============

      [B][I]NOTES:[/I][/B]

      a. Both "Allow Changing Sender" and "Allow Changing To Recipient" should be ON by default for all In-Portal Events. All OnNew Events can have it OFF since both Add and Delete Event button will be available in DBG only.

      b. For Information purposes I think we should keep "Send Email From", "Send From Address" and "Send From Name" visible, but READ-ONLY when Allow Changing Sender.

      IMPORTANT to note that when DBG is ON Developers will NEVER see READ-ONLY for any fields/screen. In other words, it's in affect ONLY when Root or Administrator is logged-in and mentioned above check-box is OFF. Also, don't need to fancy JS - simpler is better.

      c. Always give to edit CC and BCC records for Recipient except that TO is ONLY editable with "Allow Changing To Recipient" check-box ON.

      d. We'll work with Interfaces team to get the above look right.

      [B]3. Add a way to edit ReplacementTags field[/B]

      • Tag: [____________________]
      • Replacement: [____________________]
      • Replacement Tags: [ ....... ] - multi input control (like on custom field editing)

      [B]4. Remove "E-mail Settings" section under module Configuration.[/B]

      After new changes are in affect it will only duplicate "E-mail Templates" section.

      [B]5. Adjust Email Message textarea for Developers Mode (DBG)[/B]

      In developer mode (DBG On) display email message text using simple textarea with "Open In HTML Editor" button (as in Regional section for now), but in administrator mode we will display inline HTML editor as for now in "Email Templates".

      [B]6. Check all SQL and upgrades with Events table[/B]

      Since the structure of Events table will change we need to make sure we properly update all places correctly (Upgrade SQLs/PHP, Installation data SQL)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                dmitry Dmitry Andrejev [Intechnic]
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: