How To / General

Email Configuration

  • WIDE Services EL800462036
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 2 months ago #1 by WIDE Services EL800462036
Email Configuration was created by WIDE Services EL800462036
Hi!

How can I add HTML code in email that sent after confirmed? I mean the email that say "To enter the course, go to: COURSE_URL"

The field doesn't support HTML

Thanks

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

More
10 years 2 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Email Configuration
Hi.

As you say, field currently does not support HTML. I will move this thread to Feature Requests so we can try to add it for a future release.

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

More
10 years 2 months ago #3 by Antonio Durán
Replied by Antonio Durán on topic Email Configuration
I cannot test email sending right now, but I did a quick change to allow HTML. If you want, you can do it and test emails, to see if it works as expected.

Change is in file: administrator/components/com_joomdle/models/forms/config.xml
In field: enrol_email_text
Change field definition by this one:
Code:
<field name="enrol_email_text" type="editor" description="COM_JOOMDLE_ENROL_EMAIL_TEXT_DESCRIPTION" label="COM_JOOMDLE_ENROL_EMAIL_TEXT" rows="5" cols="70" filter="safehtml" />

With that you should get and editor and be able to save HTML. I am not sure if any changes will be needed to the email sending code to allow HTML. You can try if you want. I will test as soon as I can otherwise.

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