The e-mail templates required for the approval process within the workflow are stored by default in the Weblication® software directory(/weblication/grid5/default/workflow/mails). The contents of these EML files can be found below.
If the English or French user language is set for editors in the user administration, store the EML files accordingly with the respective language abbreviation (e.g. en.rejected.eml or fr.rejected.eml).
In order for a user to receive the corresponding workflow emails, a valid email address must be stored for the respective user in the user administration and it must be ensured that emails can also be sent via PHP scripts.
From: [!--system.mail--] To: [!--user.mail--] Content-Type: text/plain; charset=UTF-8 Subject: Ihre Änderungen wurde zurückgewiesen: [!--document.path--] Das folgende Dokument wurde vom Benutzer [!--userCur.username--] zurückgewiesen. [!--env.hostURL--]/weblication/index.php?redirect=[!--document.path--] Grund der Zurückweisung [!--info.reason--]
From: [!--system.mail--] To: [!--user.mail--] Content-Type: text/plain; charset=UTF-8 Subject: Ihre Änderungen wurden freigegeben: [!--document.path--] Das folgende Dokument wurde freigegeben. [!--env.hostURL--]/weblication/index.php?redirect=[!--document.path--]
From: [!--system.mail--] To: [!--user.mail--] Content-Type: text/plain; charset=UTF-8 Subject: Bitte geben Sie das Dokument frei: [!--document.path--] Klicken Sie auf folgenden Link, um direkt zum freizugebenden Dokument zu gelangen [!--env.hostURL--]/weblication/index.php?redirect=[!--document.pathDraftToRelease--] Zur Dateiverwaltung [!--env.hostURL--]/weblication/index.php?redirect=[!--document.pathFilemanager--]
The placeholder tags used in the EML file have the following meaning:
As of Weblication® version 005.012.004.000, you can also optionally store the workflow e-mails on a project-specific basis under /[YOUR-GLOBAL PROJECT]/weblication/workflow/mails. To do this, copy the EML files with the same name stored in the software directory into the aforementioned directory of your global project.
As of Weblication® version 005.021.001.003, you can also refer to a superglobal project via a forwarding in the workflow e-mails stored in the global project. This makes sense, for example, in an installation with several projects that are to access the same workflow e-mails. This means that any changes only need to be made in the superglobal EML files.
Redirect:/superglobal/workflow/mails/de.toRelease.eml