Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: {SURVEYURL} on a button surveyurl

{SURVEYURL} on a button surveyurl 2 years 7 months ago #70082

  • mattias
  • mattias's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 77
  • Karma: 1
and tried the following in an invitation

<a href="{SURVEYURL}"> <img scr="bonton.png"> </ a>

but not work for me as it is possible to pass this parameter?

regards
The administrator has disabled public write access.

Re: {SURVEYURL} on a button surveyurl 2 years 7 months ago #70083

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
What does "not work" mean?

is the button not shown?

Is the placeholder not replaced?

Does it show no link at all?

More details please!

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: {SURVEYURL} on a button surveyurl 2 years 7 months ago #70104

  • mattias
  • mattias's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 77
  • Karma: 1
excuse my English!

The idea is to hide the link behind the image to send invitations by email. as I show in the html.

regards
Attachments:
The administrator has disabled public write access.

Re: {SURVEYURL} on a button surveyurl 2 years 7 months ago #70109

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
How does the email currently look like when sending such invitations?

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: {SURVEYURL} on a button surveyurl 2 years 7 months ago #70128

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6219
  • Thank you received: 791
  • Karma: 238
Hello,

To have only the clean survey url without html code, you can use @@SURVEYURL@@

See the documentation : docs.limesurvey.org/Tokens#Email_placeholders
The administrator has disabled public write access.

Re: {SURVEYURL} on a button surveyurl 2 years 7 months ago #70161

  • mattias
  • mattias's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 77
  • Karma: 1
The idea is to hide the url after the button

regards
The administrator has disabled public write access.

Re: {SURVEYURL} on a button surveyurl 2 years 7 months ago #70162

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4068
  • Thank you received: 746
  • Karma: 341
Does the button appear at all?

You will need to use an absolute URL for the image:
<a href="{SURVEYURL}"> <img scr="http://yourSite.com/pathToImage/bonton.png"> </ a>
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.
The following user(s) said Thank You: mattias

Re: {SURVEYURL} on a button surveyurl 2 years 7 months ago #70189

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6219
  • Thank you received: 791
  • Karma: 238
tpartner wrote:
Does the button appear at all?

You will need to use an absolute URL for the image:
<a href="{SURVEYURL}"> <img scr="http://yourSite.com/pathToImage/bonton.png"> </ a>

Just incase:
<a href="@@SURVEYURL@@"> <img scr="http://yourSite.com/pathToImage/bonton.png"> </ a>
;)
The administrator has disabled public write access.
The following user(s) said Thank You: mattias

Re: {SURVEYURL} on a button surveyurl 2 years 7 months ago #70191

  • mattias
  • mattias's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 77
  • Karma: 1
ok thank you very much worked with <a href="@@SURVEYURL@@">

regards
The administrator has disabled public write access.

Re: {SURVEYURL} on a button surveyurl 2 years 7 months ago #70203

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
Great. I never heard about that additional placeholder but it does what it should.

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.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.130 seconds
Donation Image