adjusting column widths in user_email_body messages

  • Peter Batchelor
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 10 months ago #158637 by Peter Batchelor
Hi Tuan,
Is it possible to adjust the width of the columns used to display the fields in [REGISTRATION_DETAIL]?
Ideally, I'd like to have an option to have the field names all remain as single lines, instead of some of them being shown over a couple of lines.
The attachment shows what is currently happening.
 

In the source of the email that is sent, I can see the following for .title_cell.
.title_cell
        {
            font-weight: bold;
        }

I'd like to try to change this to include nowrap:
.title_cell {
  font-weight: bold;
  white-space: nowrap;
}

Is it possible to do this as an override, so that it doesn't get overwritten by updates? If so, where do I do it?
Thanks in advance, Peter

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
1 year 10 months ago #158638 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic adjusting column widths in user_email_body messages
Hi Peter

You can do the modification on this file components/com_eventbooking/themes/default/emailtemplates/email.php. Once everything works as expected, you can move that modified file to PATH_TO_TEMPLATE/html/com_eventbooking/emailtemplates folder 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.

  • Peter Batchelor
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 10 months ago #158668 by Peter Batchelor
Replied by Peter Batchelor on topic adjusting column widths in user_email_body messages
Thanks Tuan,
As always, excellent service!
Peter

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
1 year 10 months ago #158672 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic adjusting column widths in user_email_body messages
You're welcome, Peter. Please continue using the extension. If you have questions or need help, please don't hesitate to ask us

Tuan

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

Moderators: Tuan Pham Ngoc