Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: [SOLVED] HTML code stripped when saving REMINDER emails!

[SOLVED] HTML code stripped when saving REMINDER emails! 7 years 11 months ago #26618

  • gmarsh
  • gmarsh's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 2
While testing reminder emails, I found that the editor was stripping the basic HTML paragraph tags from the email copy when I saved the email.

I went into PHPMyAdmin and added a few paragraph tags, then re-tested sending the email using the CRON. Formatting was fine.

But when I again used the editor within DT Register to adjust the copy, then saved & sent the email, all the tags were again stripped.

So I tested. Using the the Joomla Global Configuration, I've progressively worked my way through all the editor possibilities - JCE, Tiny MCE, Code Mirror and No editor. The HTML tags I entered in each editor were not saved when the email was saved. I checked the results in PHPMyAdmin each time to verify that no HTML tags were included with the copy.

I believe that there is a bug in the Email Reminder editor function which strips HtML tags from the copy.

Joomla 3.6.5 | DT Register 3.1.13 | JCE Editor Pro 2.6.7.1 | PHP 5.6.27 OR 7.0.12

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

Last Edit: by nathan.dth.

HTML code stripped when saving REMINDER emails! 7 years 11 months ago #26621

  • nathan.dth
  • nathan.dth's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1857
  • Karma: 19
  • Thank you received: 218
We have fixed this and will include it in the next package update. For now you can fix in this file:

/administrator/components/com_dtregister/controllers/reminder.php

Around line 43 find:
$data = JFactory::getApplication()->input->get('reminder', array(), 'post', 'array');
Change to:
$data = JFactory::getApplication()->input->get('reminder', array(), 'ARRAY');

Make the same change around line 69.
The following user(s) said Thank You: gmarsh

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

Nathan is no longer affiliated with DTH since the recent acquisition. You can connect with him and get any type of Joomla website help at www.JoomlaEmployee.com .

HTML code stripped when saving REMINDER emails! 7 years 11 months ago #26622

  • gmarsh
  • gmarsh's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 2
Thank you, Nathan, for the quick response. Those changes worked fine!
Gary

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

  • Page:
  • 1
Time to create page: 0.395 seconds