Change layout of administrator email (V1.6.2)

  • rnomis
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 6 months ago - 11 years 6 months ago #50121 by rnomis
My client has requested a change to the email she receives when someone books for a Group.
Currently the email is set out with the billing information at the top with the attendees side by side. She would like to print out the billing information on 1 sheet and the attendees on separate sheets.
So Page 1 would just contain the billing information, Page2 for attendee1 and Page3 for attendee2 etc.
This is important as attendees are children and each page of the form has a medical statement to be signed at the event by the parent.

Is this possible in V1.6.4?

Thanks
Simon
Last edit: 11 years 6 months ago by rnomis.

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

More
11 years 6 months ago #50137 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change layout of administrator email (V1.6.2)
Hi Simon

It is not possible with version 1.6.4 as well. So you will need to edit the code if you want to change the layout. If you upgrade to latest version, you can edit the group email layout in components/com_eventbooking/emailtemplates/email_group_detail.php to change the layout of the email to meet your need

Regards,

Tuan

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

  • rnomis
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #57106 by rnomis
Hi Tuan,

I have upgraded to 1.6.10.

I have noticed an issue with the email that is received. I am trying to solve my problem to see each attendee's details in a list rather that side by side. Unfortunately my php skills do not allow me to do this despite trying for a couple of hours. Whatever I do it refuses to change the layout. It produces 2 tables side by side instead of one under the other. Is it just email_group_detail.php I need to change?

However, I noticed that in the email, the details for attendee 1 are shown alongside the labels for attendee 2 and vice versa.

It would be very helpful if you could give me some guidance to get this email sorted out as my client is finding it frustrating to try to reformat records in a format she can use at the event.

While trying to edit the files, I noticed what may be a typo in: components/com_eventbooking/emailtemplates/email_group_detail.php

Line 203 reads: <?php echo JText::_('EB_PAYMEMNT_METHOD'); ?> instead of PAYMENT_METHOD
The same typo appears in other files

Regards

Simon

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

More
11 years 2 months ago #57118 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change layout of administrator email (V1.6.2)
Hi Simon

You can get this file, unzip it, upload to components/com_eventbooking/emailtemplates and check it again (I modified the code but haven't tested yet).

FYI, EB_PAYMEMNT_METHOD is correct, not PAYMEMNT_METHOD

Regards,

Tuan

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

  • rnomis
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #57133 by rnomis
Hi Tuan,
Thanks very much, works well. Also given me a lesson in design now I can see the changes :-)

Regards
Simon

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

More
11 years 2 months ago #57134 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change layout of administrator email (V1.6.2)
It is PHP code :).

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

Moderators: Tuan Pham Ngoc