integration on external page?

More
5 years 7 months ago #73875 by itsme
itsme created the topic: integration on external page?
hello guys,
i was thinking of a little project that to show small survey on some other pages of the website like right from normal html page, i understand that iframe is possible but as you know it is not that stable and might not be displayed well in all browsers, so is there any better way of integration with external webpage? like short codes as we see sometimes in php scripts or any other powerful way to avoid iframe thing?

Please Log in to join the conversation.

More
5 years 7 months ago #73876 by Mazi
Mazi replied the topic: integration on external page?
The only solution is to use an iFrame or use a template that embedds the rest of your website into a Limesurvey template.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 7 months ago #73919 by tpartner
tpartner replied the topic: integration on external page?

i understand that iframe is possible but as you know it is not that stable and might not be displayed well in all browsers

I think the iframe is a stable solution if properly used. Do you have examples of it not working?

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
5 years 7 months ago #73921 by itsme
itsme replied the topic: integration on external page?
no not yet, i am working on it, but i will face problem that it will not show it exactly as it suppose to, i need to show it exactly within html page externally, i afraid that it will show borders or fix the sizes on the left and the right might not work exactly as suppose to, there i don't want any scrolbars also!

Please Log in to join the conversation.

More
5 years 7 months ago #73923 by tpartner
tpartner replied the topic: integration on external page?
I think it is just a matter of careful coding. You can set attributes for the iframe to fix width and height and remove borders and scrollbars - www.w3schools.com/tags/tag_iframe.asp .

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
5 years 7 months ago #73933 by Steve01
Steve01 replied the topic: Aw: integration on external page?
I think it will also depend on your design template. Perhaps you have to limit the width of the wrapper/content and do some adjustments to your survey.

We use iframes to integrate surveys (using LimeSurvey) to our internet and intranet pages. It seems to work fine thought you might get problems if the participant uses a browser configuration that blocks third party cookies.

Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team

Please Log in to join the conversation.

More
5 years 7 months ago #73946 by DenisChenu
DenisChenu replied the topic: Aw: integration on external page?
Actually, there are a php solution:
// CMS Integration Settings
// Set $embedded to true and specify the header and footer functions - for example if the survey is to be displayed embedded in a CMS
$embedded = false;
$embedded_inc = '';             // path to a php file to include
$embedded_headerfunc = '';      // e.g. COM_siteHeader for geeklog
$embedded_footerfunc = '';      // e.g. COM_siteFooter for geeklog
from config-default.php

But it disapeear from 2.0 :)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
5 years 7 months ago #73955 by Mazi
Mazi replied the topic: integration on external page?

itsme wrote: i need to show it exactly within html page externally, i afraid that it will show borders or fix the sizes on the left and the right might not work exactly as suppose to

This is just a matter of a customized and carefully tested professional Limesurvey template. I have done that before for a customer of mine, see iframe at www.innsbruck-informiert.at/
-> right side of the page ("Was sagst du?")


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now