Available Tags for Mass Mail are hardcoded?

  • hide10
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
1 month 2 weeks ago - 1 month 2 weeks ago #171056 by hide10
Hello,

In the popup window for Mass Mail editing, "Available Tags" are listed at the bottom as in the attached screenshot, which is very convenient.

I'd like to modify these displayed tags for the following reasons:
  1. I want to remove < strong > tag. 
    Since it is displayed with < strong > tag, when admin user copy and paste from it, the tag is inserted as 
    Code:
    [<strong>FIRST_NAME</strong>]
    . As a result, the tag does not work. Not all of our admin users are tech people, so editors are enabled for them. If editor is enabled, it happens. 
  2. I want to remove unused tags.
    Some of the listed tags are not used in our site, so I want to edit and remove them for both frontend and backend.

However, it seems to be hard-coded, and I cannot locate the file.

I looked at the following files:
components/com_eventbooking/themes/default/massmail/default.php
administrator/components/com_eventbooking/view/massmail/tmpl/default.php

But both of the files are different from what is actually displayed.
Which files should I modify to override?

Thank you for your help,
rikao
Attachments:
Last edit: 1 month 2 weeks ago by hide10.

Please Log in or Create an account to join the conversation.

More
1 month 2 weeks ago #171059 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Available Tags for Mass Mail are hardcoded?
Hello

The right files to edit are:

- components/com_eventbooking/themes/default/registrants/default_batch_body.php
- administrator/components/com_eventbooking/view/registrants/tmpl/default_batch_body.php

Please do the changes you need, and remember to move the modified files to template override so that the change won't be lost when you update to future releases of the extension

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • hide10
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
1 month 2 weeks ago #171061 by hide10
Replied by hide10 on topic Available Tags for Mass Mail are hardcoded?
Hello Tuan,

I was able to create override files successfully.
Thank you so much!

rikao

Please Log in or Create an account to join the conversation.

More
1 month 2 weeks ago #171062 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Available Tags for Mass Mail are hardcoded?
Great. Happy to hear that and thanks for the update

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc