- Posts: 1
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Customize {SURVEYURL} in email
- jpp1962
- Topic Author
- Offline
- New Member
Less
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
Thanks in advance
João Paulo
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
11 years 4 months ago - 11 years 4 months ago #88366
by DenisChenu
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.
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
- 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.
- maddhin
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 1
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!
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
11 years 23 hours ago #94320
by DenisChenu
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.
Replied by DenisChenu on topic Customize {SURVEYURL} in email
What did you try ?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:((
Code:
<a href="%%SURVEYURL%%">Please click this link to go to the survey</a>
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.
- maddhin
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 1
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 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.
- maddhin
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 1
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...
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
11 years 8 hours ago #94343
by DenisChenu
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.
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.