- Posts: 5
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
HTML 5 Doctype
- jk78
- Topic Author
- Offline
- New Member
Less
More
8 years 8 months ago #122553
by jk78
HTML 5 Doctype was created by jk78
I apologize if this is the wrong category, but how would I change the HTML Doctype on my survey?
I am using the tfr_responsive template and it is a beautiful responsive template, but when I use it in IE 10 or 11, IE defaults to IE 7 mode (according to the IE Developer Console).
When I switch the document mode to IE Edge, it works just fine (the template, as designed).
So where can I adjust the HTML Doctype? I did not find this in the template source files.
Current Doctype:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns=" www.w3.org/1999/xhtml " xml:lang="en" lang="en">
Preferred Doctype:
HTML 5 or whatever you think will get IE to default to IE Edge.
Thanks!
I am using the tfr_responsive template and it is a beautiful responsive template, but when I use it in IE 10 or 11, IE defaults to IE 7 mode (according to the IE Developer Console).
When I switch the document mode to IE Edge, it works just fine (the template, as designed).
So where can I adjust the HTML Doctype? I did not find this in the template source files.
Current Doctype:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns=" www.w3.org/1999/xhtml " xml:lang="en" lang="en">
Preferred Doctype:
HTML 5 or whatever you think will get IE to default to IE Edge.
Thanks!
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13910
- Thank you received: 2548
8 years 8 months ago #122558
by DenisChenu
- bugs.limesurvey.org/view.php?id=8008
- bugs.limesurvey.org/view.php?id=8594
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 HTML 5 Doctype
Try with : git.framasoft.org/Shnoulle/SkeletonQuest...r/startpage.pstpl#L2jk78 wrote: When I switch the document mode to IE Edge, it works just fine (the template, as designed).
Actually, you can't .... there are a Feature Request:So where can I adjust the HTML Doctype? I did not find this in the template source files.
- bugs.limesurvey.org/view.php?id=8008
- bugs.limesurvey.org/view.php?id=8594
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.
- Mazi
- Offline
- Official LimeSurvey Partner
8 years 8 months ago #122568
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic HTML 5 Doctype
Is this an issue with this special template because it uses bootstrap?
Would it work to add some JS to template.js to adjust the doctype?
Would it work to add some JS to template.js to adjust the doctype?
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13910
- Thank you received: 2548
8 years 8 months ago - 8 years 8 months ago #122579
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 HTML 5 Doctype
@Mazi : i didn't test with IE11 SkeletonQuest, but you can try adding:
At start of startpage.pstpl
You can not adjust with js i think.
Code:
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
You can not adjust with js i think.
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: 8 years 8 months ago by DenisChenu.
The following user(s) said Thank You: tpartner, jk78
The topic has been locked.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3691
8 years 8 months ago #122583
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 HTML 5 Doctype
@Denis: Yep, SkeletonQuest works fine in IE11.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- JanE01
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 8
- Thank you received: 3
8 years 8 months ago - 8 years 8 months ago #122598
by JanE01
Replied by JanE01 on topic HTML 5 Doctype
@jk78 We cannot reproduce this. Tested in IE11 in Win7Pro and Win8.1Pro our demo survey defaults to Edge:
survey.toolsforresearch.com/index.php/123456/lang-en
In fact, you cannot even switch it in the developer console to IE8 or IE7. If you try it, JS issues a warning that IE8 or lower is not supported.
Which OS and template version are you using? Do you experience the same on our demo survey?
survey.toolsforresearch.com/index.php/123456/lang-en
In fact, you cannot even switch it in the developer console to IE8 or IE7. If you try it, JS issues a warning that IE8 or lower is not supported.
Which OS and template version are you using? Do you experience the same on our demo survey?
Last edit: 8 years 8 months ago by JanE01.
The following user(s) said Thank You: jk78
The topic has been locked.
- jk78
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
8 years 8 months ago #122609
by jk78
Replied by jk78 on topic HTML 5 Doctype
@Denis -- adding this "<meta http-equiv="X-UA-Compatible" content="IE=edge"/>", which you noted, to startpage.pstpl worked perfectly.
As I was looking in the IE developer console, I noticed the message that the IE compatibility mode was the default for intranet sites in my organization...by adding the meta tag above, I was able to override this internal setting to get the template to display properly.
Therefore, I think this is just an issue internal to my organization and I am thankful for the ability for the meta override.
Thank you for all your help.
As I was looking in the IE developer console, I noticed the message that the IE compatibility mode was the default for intranet sites in my organization...by adding the meta tag above, I was able to override this internal setting to get the template to display properly.
Therefore, I think this is just an issue internal to my organization and I am thankful for the ability for the meta override.
Thank you for all your help.
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 962
- Thank you received: 216
8 years 8 months ago #122626
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic HTML 5 Doctype
Hi guys, we also looked into this. The solution jk78 gave will probably work in his situiation, but taking up the EDGE specification as a default probably does more harm than good.
stackoverflow.com/questions/26346917/why...re/26348511#26348511
That's why we will not build it in as a standard solution.
stackoverflow.com/questions/26346917/why...re/26348511#26348511
That's why we will not build it in as a standard solution.
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The following user(s) said Thank You: jk78
The topic has been locked.