Welcome, Guest
Username: Password: Remember me

TOPIC: {SURVEYURL} to be openened in our website (wrapper)

{SURVEYURL} to be openened in our website (wrapper) 3 years 2 months ago #62465

  • SPABO
  • SPABO's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
In the e-mail templates I can use {SURVEYURL} to go directly to the survey.

However, I wish to have the survey openend in a wrapper in our website

The link to the wrapper : www.ourwebsite.nl/survey.html

Any ideas??
The administrator has disabled public write access.

Re: {SURVEYURL} to be openened in our website (wrapper) 3 years 2 months ago #62470

  • tpartner
  • tpartner's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 4182
  • Thank you received: 785
  • Karma: 359
You will need to hard code the URL instead of using the {SURVEYURL} placeholder.
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: {SURVEYURL} to be openened in our website (wrapper) 3 years 2 months ago #62474

  • SPABO
  • SPABO's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
I thought about that...
But how to get the token in the URL
The administrator has disabled public write access.

Re: {SURVEYURL} to be openened in our website (wrapper) 3 years 2 months ago #62484

  • tpartner
  • tpartner's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 4182
  • Thank you received: 785
  • Karma: 359
Can you use the {TOKEN} placeholder in the hard coded URL?
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: {SURVEYURL} to be openened in our website (wrapper) 3 years 2 months ago #62486

  • SPABO
  • SPABO's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
I tried this in the wrapper:
www.ourwebsite.nl/survey/index.php?lang=...mal&sid=22222&{TOKEN}

This does not work

As said , in the email I'm using www.ourwebsite.nl/survey.html to open the wrapper
The administrator has disabled public write access.

Re: {SURVEYURL} to be openened in our website (wrapper) 3 years 2 months ago #62487

  • tpartner
  • tpartner's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 4182
  • Thank you received: 785
  • Karma: 359
As said , in the email I'm using www.ourwebsite.nl/survey.html to open the wrapper
Does this mean that you are running the survey in an iframe?

If so, I think you'll need to change that page to .php and then use a script to grab the token from the URL and append it to the src attribute of the iframe.
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: {SURVEYURL} to be opened in our website (wrapper) 3 years 2 months ago #62492

  • SPABO
  • SPABO's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
Hi Tony

It's a JOOMLA application and not sure where/how etc

I cannot imagine I was the only one with this "problem"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.103 seconds
Donation Image