Welcome, Guest
Username: Password: Remember me

TOPIC: integration on external page?

integration on external page? 2 years 6 months ago #73875

  • itsme
  • itsme's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 53
  • Thank you received: 1
  • Karma: 0
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?
The administrator has disabled public write access.

Re: integration on external page? 2 years 6 months ago #73876

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5324
  • Thank you received: 294
  • Karma: 248
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)limesurvey.org'"
The administrator has disabled public write access.

Re: integration on external page? 2 years 6 months ago #73919

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4130
  • Thank you received: 763
  • Karma: 347
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Re: integration on external page? 2 years 6 months ago #73921

  • itsme
  • itsme's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 53
  • Thank you received: 1
  • Karma: 0
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!
The administrator has disabled public write access.

Re: integration on external page? 2 years 6 months ago #73923

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4130
  • Thank you received: 763
  • Karma: 347
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Aw: integration on external page? 2 years 6 months ago #73933

  • Steve
  • Steve's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 494
  • Thank you received: 46
  • Karma: 17
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
The administrator has disabled public write access.

Re: Aw: integration on external page? 2 years 6 months ago #73946

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6272
  • Thank you received: 800
  • Karma: 240
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 :)
The administrator has disabled public write access.

Re: integration on external page? 2 years 6 months ago #73955

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5324
  • Thank you received: 294
  • Karma: 248
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)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.177 seconds
Donation Image