overide for layout of emails sent out

  • vthomas
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 8 months ago #101628 by vthomas
overide for layout of emails sent out was created by vthomas
Hi, I noticed that the layout for emails sent out once someone registers is based on web page layout (seems like it). I did modify the web page registration layout, and now this is really bad for email layout.
I think I need to create an overide for this file, if I use [REGISTRATION_DETAIL] - correct?
/components/com_eventbooking/view/emailtemplates/tmpl/email_individual_detail.php
Is this file used for both registrant emails and also to event organizer email?
Which folder do I place the overide in?
Sincerely, Vicky

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

  • vthomas
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 8 months ago #101629 by vthomas
Replied by vthomas on topic overide for layout of emails sent out
Here is screen shot of my email layout - It looks like it is in columns and the second column is too far away.... I just want a space between the item name and the value for each item.
nccadv.org/images/2017/email-layout.jpg

I hope that clarifies my question. Vicky

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
8 years 8 months ago #101638 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic overide for layout of emails sent out
Look like the second layout is too far because there is one file with long title. So you can change title of that field, make it shorter. Or makes an override like you said. You can move the override file to PATH_TO_TEMPLATE/html/com_eventbooking/emailtemplates folder and it 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.

  • vthomas
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 8 months ago #101694 by vthomas
Replied by vthomas on topic overide for layout of emails sent out
Thank you. Yes it is long. The client did not want to use tooltips for the explanation, they wanted it more obvious.
Is there anyway I can add a comment in between questions? Then I could 'explain' the question just before asking it, and have a shorter title for the actual question.

Sincerely, Vicky

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
8 years 8 months ago #101698 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic overide for layout of emails sent out
I think you can simply add some css code to make the first column smaller. Open the file components/com_eventbooking/emailtemplates/tmpl/email.php, you will see css code like this:
Code:
.title_cell { font-weight: bold; }

Change it to something like:
Code:
.title_cell { font-weight: bold; width: 30%; }

Then check it again, if the result is good, you can move that file to PATH_TO_TEMPLATE/html/com_eventbooking/emailtemplates folder on your site

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc