View Issue Details

IDProjectCategoryView StatusLast Update
0019804phpList 3 applicationGeneralpublic19-07-19 13:57
Reportersamtuke 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
PlatformLinuxOSFedoraOS Version26
Product Version3.3.9 
Target Version3.4.1Fixed in Version3.4.1 
Summary0019804: Placeholders for installation organisation name not recognised
DescriptionAlthough the organisation name is recorded in the phpList installation (accessible on the settings page, and named organisation_name in the config table of the db), no placeholders appear to be recognised for value in campaigns. E.g. none of these work:

[organisation]
[ORGANISATION]
[ORGANISATION_NAME]
[organisation_name]
[company]

In some installations, [organisation] may be a subscriber attribute, and be recognised therefore.

Make the organisation name accessible via a placeholder [ORGANISATION_NAME], and ensure that it appears in the help text listing other placeholders.
TagsNo tags attached.

Activities

duncanc

06-03-19 17:28

updater   ~0061976

This can be done alongside the existing code for website and domain in admin/sendemaillib.php

    $html['website'] = $GLOBALS['website']; // Your website's address, e.g. www.yourdomain.com
    $text['website'] = $GLOBALS['website'];
    $html['domain'] = $GLOBALS['domain']; // Your domain, e.g. yourdomain.com
    $text['domain'] = $GLOBALS['domain'];

xheni

28-03-19 22:44

administrator   ~0062045

PR: https://github.com/phpList/phplist3/pull/507