- Posts: 42
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Embed survey in iframe
- Fred01
- Topic Author
- Offline
- Senior Member
Less
More
12 years 6 months ago #65627
by Fred01
Embed survey in iframe was created by Fred01
I'm trying to embed limesurvey inside another page using the iframe tag. I've read in other posts that this should be possible. Is there some trick I'm missing? Here's some simple sample html:
<html>
This is the "wrapper" page
<body>
<iframe src=" www.mysite.com/limesurvey/index.php " width="100%" height="300">
</iframe>
</body>
</html>
This page is in the limesurvey directory; I just added the fully qualified path just in case. Note I'm forcing SSL in this site.
<html>
This is the "wrapper" page
<body>
<iframe src=" www.mysite.com/limesurvey/index.php " width="100%" height="300">
</iframe>
</body>
</html>
This page is in the limesurvey directory; I just added the fully qualified path just in case. Note I'm forcing SSL in this site.
The topic has been locked.
- bwoo5
- Offline
- Junior Member
Less
More
- Posts: 20
- Thank you received: 1
12 years 6 months ago #65631
by bwoo5
Replied by bwoo5 on topic Embed survey in iframe
I looked forever also on the best way to get a page to show up inside another page and this code ended up working the best, just put in your website link inside the quotes where it says to and save as like index.html or whatever you want
<!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 ">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1 />
<title>Your Title</title>
<META name="robots" content="noindex,nofollow">
</head><frameset rows="100%,*" border="0">
<frame src="YOUR WEBSITE LINK HERE INSIDE THE QUOTES" frameborder="0" />
<frame frameborder="0" noresize />
</frameset> document.removeEventListener('click, clickHandler, true);
</html>
<!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 ">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1 />
<title>Your Title</title>
<META name="robots" content="noindex,nofollow">
</head><frameset rows="100%,*" border="0">
<frame src="YOUR WEBSITE LINK HERE INSIDE THE QUOTES" frameborder="0" />
<frame frameborder="0" noresize />
</frameset> document.removeEventListener('click, clickHandler, true);
</html>
The topic has been locked.
- Fred01
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 42
- Thank you received: 1
12 years 6 months ago #65640
by Fred01
Replied by Fred01 on topic Embed survey in iframe
Thanks, that works. I did get my iframe implementation to work also. Although I don't like the way it looks yet. I wanted to use an iframe to control access to the survey, so that you'd need to get authenticated to the parent page in order to see the survey in the iframe.
Really I should probably post a new question: How can you use an external authentication system to control access to limesurvey.
Really I should probably post a new question: How can you use an external authentication system to control access to limesurvey.
The topic has been locked.
- frozo
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 1
7 years 6 months ago #141772
by frozo
Replied by frozo on topic Embed survey in iframe
Hi, I have insert my survey with iframe in my webpage. How can I get to put the USER TOKEN?. Something like this does not work:
www.mywebpagewhereistheiframe.com/{TOKEN }. When user opens the survey, it required the password. Is there anything I can do to avoid this?, I mean, I want that user clic on link with a token (when invitation email occurs), could you help me please?
Thanks
www.mywebpagewhereistheiframe.com/{TOKEN }. When user opens the survey, it required the password. Is there anything I can do to avoid this?, I mean, I want that user clic on link with a token (when invitation email occurs), could you help me please?
Thanks
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
7 years 6 months ago #141774
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Embed survey in iframe
Please do not post the same question more than once, you have asked this already here a few hours ago:
www.limesurvey.org/community-services/fo...iframe-occurs#141763
www.limesurvey.org/community-services/fo...iframe-occurs#141763
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.