View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
16349 | Feature requests | Expression Manager | public | 2020-05-31 13:17 | 2023-02-23 13:07 |
Reporter | Mazi | Assigned To | |||
Priority | none | Severity | feature | ||
Status | new | Resolution | open | ||
Summary | 16349: Missing placeholder for Limesurvey path | ||||
Description | Often you are linking custom scripts within a survey, the end message or the end URL. The problem is that when using a test system e.g. on your servers and a live system, the URLs differ. Of course, this applies for full URLs but also relative URLs cause a problem. Example: Having a placeholder similar to the old {TEMPLATEURL} would help a lot. So can we have something like {LIMESURVEYURL} which shows the systems full path like whotest.my-survey.host or my-domain.com/limesurvey? | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Story point estimate | |||||
Users affected % | |||||
@DenisChenu, how do you deal wiith this? |
|
You mean in model ? In survey ? You re right : we need a {ROOTURL} {RESSOURCEURL} and {TEMPLATEURL} |
|
@DenisChenu, I think there still is no solution yet? We are facing this problem at various situations. Most simply one is sending a link to a custom report by email. The report is a new module or plugin. But if we switch from test to live system, we always have to adjust the Limesurvey URL. |
|
Why not a generateUrl EM functiln un core plugins ? |
|
Could also be an option. We had a similar ticket for SEED, see https://bugs.limesurvey.org/view.php?id=14445 and this commit: https://github.com/LimeSurvey/LimeSurvey/commit/011890d128084176074421cbe82cdd342706f729#diff-bccf0f511c5328f1ef2c78b92305646a |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2020-05-31 13:17 | Mazi | New Issue | |
2020-05-31 13:17 | Mazi | Note Added: 58119 | |
2020-06-01 08:34 | DenisChenu | Note Added: 58121 | |
2023-02-23 11:47 | Mazi | Note Added: 73938 | |
2023-02-23 12:05 | DenisChenu | Note Added: 73939 | |
2023-02-23 13:07 | Mazi | Note Added: 73940 |