Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Customize {SURVEYURL} in email

  • jpp1962
  • jpp1962's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 4 months ago #88349 by jpp1962
Customize {SURVEYURL} in email was created by jpp1962
I would like to know if it is possible to display a different message (i.e. "Please click this link to go to the survey") instead of the survey URL. In other words, is it posible insert a hyperlink (a picture or a word) and link it to the keyword {SURVEYURL}

Thanks in advance

João Paulo
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 4 months ago - 11 years 4 months ago #88366 by DenisChenu
Replied by DenisChenu on topic Customize {SURVEYURL} in email
2 solution:
- Use %%SURVEYURL%% : replaced by the link and only the link (then hae to put < a href="%%SURVEYURL%%" ...
- Do your own job with {TOKEN}, the link are allways
Code:
http://example.org/index.php/survey/index/sid/{SID}/token/{TOKEN}/newtest/Y

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 11 years 4 months ago by DenisChenu.
The topic has been locked.
More
11 years 1 day ago #94271 by maddhin
Replied by maddhin on topic Customize {SURVEYURL} in email
hey guys,

I guess I am just too stupid: Could you please explain (like idiot proof) how to use the %%SURVEYURL%% correctly? I tried a lot but never got it working:((
Thank you so much for your help!
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 23 hours ago #94320 by DenisChenu
Replied by DenisChenu on topic Customize {SURVEYURL} in email

maddhin wrote: hey guys,

I guess I am just too stupid: Could you please explain (like idiot proof) how to use the %%SURVEYURL%% correctly? I tried a lot but never got it working:((

What did you try ?

Code:
<a href="%%SURVEYURL%%">Please click this link to go to the survey</a>
in LimeSurvey WITHOUT HTML editor.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
11 years 11 hours ago #94337 by maddhin
Replied by maddhin on topic Customize {SURVEYURL} in email
Yes, this is what I tried, but then limesurvey will not replace the word SURVEYURL with the actual survey URL. Only if you use the {} = {SURVEYURL}, limesurvey will recognize it as replacement field and replace {SURVEYURL} with the according link.

the problem with

<a href="{SURVEYURL}">Please click this link to go to the survey</a>

is that {SURVEYURL} seems to generate a "<a href=" hyperlink already so, it doesn't work.

The only working solution I found is to use the actual link and just replace the token id with {token}.

Then it works but if one also replaces the SID with {SID}, it doesn't work.

Using {SURVEYURL} or a replacement for the URL to the survey would still be nice.
The topic has been locked.
More
11 years 10 hours ago #94338 by maddhin
Replied by maddhin on topic Customize {SURVEYURL} in email
HEUREKA!!!

It needs to be @@SURVEYURL@@ and not with %. Then it works fine.

See this link to the doc for all placeholders you can use in emails...
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 8 hours ago #94343 by DenisChenu
Replied by DenisChenu on topic Customize {SURVEYURL} in email
Really sorry .... my error .... you're right ...

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose