- Posts: 7
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Advanced e-mail templates (HTML lay-out)
- rencosch
- Topic Author
- Offline
- New Member
Less
More
3 years 7 months ago #205691
by rencosch
Advanced e-mail templates (HTML lay-out) was created by rencosch
Hi there,
a LimeSurvey expert designed an HTML e-mail template for me in order to send good-looking (HTML) e-mail invites, reminders etc. Since the editor has a toggle to source mode, I assumed you can put in whatever (correct) code you want.That indeed seems to be the case but the editor inserts countless <br /> tags into the code which renders it useless. Although the 2nd screenshot only shows a portion (mainly the <head>) of the code, I can confirm that the <br /> tag is added all through the code. In the <body> section of the code, the tag gets added within almost 50% of the code rules ('rows').
Was I mistaken about the possibilities of HTML formatted e-mail templates or is the editor not working properly? I've tried various browser to no avail.
Regards,
Ren
a LimeSurvey expert designed an HTML e-mail template for me in order to send good-looking (HTML) e-mail invites, reminders etc. Since the editor has a toggle to source mode, I assumed you can put in whatever (correct) code you want.That indeed seems to be the case but the editor inserts countless <br /> tags into the code which renders it useless. Although the 2nd screenshot only shows a portion (mainly the <head>) of the code, I can confirm that the <br /> tag is added all through the code. In the <body> section of the code, the tag gets added within almost 50% of the code rules ('rows').
Was I mistaken about the possibilities of HTML formatted e-mail templates or is the editor not working properly? I've tried various browser to no avail.
Regards,
Ren
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10110
- Thank you received: 3593
3 years 7 months ago #205693
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Advanced e-mail templates (HTML lay-out)
LimeSurvey version?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- rencosch
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 1
3 years 7 months ago #205701
by rencosch
Replied by rencosch on topic Advanced e-mail templates (HTML lay-out)
I apologise. It's 4.3.14+200826.
The topic has been locked.
- rencosch
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 1
3 years 7 months ago #205702
by rencosch
Replied by rencosch on topic Advanced e-mail templates (HTML lay-out)
To clarify: the editor adds the <br /> tags upon saving the template.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13647
- Thank you received: 2491
3 years 7 months ago #205708
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Advanced e-mail templates (HTML lay-out)
I can not really confirm (on last GIT version)
But maybe you can set your preference to Source code editor.
I try to add broken HTML with sourcecode : it work.
But maybe you can set your preference to Source code editor.
I try to add broken HTML with sourcecode : it work.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- rencosch
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 1
3 years 7 months ago #205716
by rencosch
Replied by rencosch on topic Advanced e-mail templates (HTML lay-out)
Thanks for checking. I've set the HTML-editor mode to 'Sourcecode editor'. It has no effect: when I paste the correct HTML code into the sourcecode editor all goes well but after I save it, the editor adds the numerous <br /> tags.
Seems like a bug to me, but I'd expect more users to face this issue. Or perhaps it is not that common to use more advanced HTML markup for LimeSurvey e-mails?
Seems like a bug to me, but I'd expect more users to face this issue. Or perhaps it is not that common to use more advanced HTML markup for LimeSurvey e-mails?
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13647
- Thank you received: 2491
3 years 7 months ago #205739
by DenisChenu
Maybe browser related ?
Or : update to the last version.
Maybe something other : XSS related ? manual.limesurvey.org/Global_settings#Security
But if you are not allowed to add script in survey, seems OK to be not allowed to add head in email.
Try login as super admin.
Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Advanced e-mail templates (HTML lay-out)
I think too : but i test on last version : i can not reproduce.rencosch wrote: Seems like a bug to me, but I'd expect more users to face this issue.
Maybe browser related ?
Or : update to the last version.
Maybe something other : XSS related ? manual.limesurvey.org/Global_settings#Security
But if you are not allowed to add script in survey, seems OK to be not allowed to add head in email.
Try login as super admin.
Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- rencosch
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 1
3 years 7 months ago #205771
by rencosch
Replied by rencosch on topic Advanced e-mail templates (HTML lay-out)
Hi Dennis, thanks for your suggestions. I've tried them all but unfortunately the problem remains.
I've tried various browsers
My account is already 'admin'
Changing the XSS options did not help (XSS filtering is always disabled for admin)
Updating to 4.3.17+200921 did not help.
So, a bug then? But then you should have been able to reproduce, right?
I've tried various browsers
My account is already 'admin'
Changing the XSS options did not help (XSS filtering is always disabled for admin)
Updating to 4.3.17+200921 did not help.
So, a bug then? But then you should have been able to reproduce, right?
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13647
- Thank you received: 2491
3 years 7 months ago - 3 years 7 months ago #205783
by DenisChenu
BUT : i check again, and can reproduce …
Please : report, give the link here. I add a screencast.
Else : if possible, for production : setup a 3.X LTS version …
EDIT : in fact : add a <br /> each time you save it … not related to HTML header
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Advanced e-mail templates (HTML lay-out)
I think too, maybe some other difference …So, a bug then? But then you should have been able to reproduce, right?
BUT : i check again, and can reproduce …
Please : report, give the link here. I add a screencast.
Else : if possible, for production : setup a 3.X LTS version …
EDIT : in fact : add a <br /> each time you save it … not related to HTML header
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 3 years 7 months ago by DenisChenu.
The topic has been locked.
- rencosch
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 1
3 years 7 months ago #205792
by rencosch
Replied by rencosch on topic Advanced e-mail templates (HTML lay-out)
Thanks, I've opened up a bug report:
bugs.limesurvey.org/view.php?id=16701
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13647
- Thank you received: 2491
3 years 7 months ago #205802
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Advanced e-mail templates (HTML lay-out)
Thanks to you !
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- rencosch
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 1
3 years 7 months ago #205811
by rencosch
Replied by rencosch on topic Advanced e-mail templates (HTML lay-out)
And to you for already contributing to this bug report!
The topic has been locked.