- Posts: 1
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
aSurveyInfo not available on registration page?
- acp_tests
- Topic Author
- Offline
- New Member
Less
More
5 years 11 months ago #169401
by acp_tests
aSurveyInfo not available on registration page? was created by acp_tests
I added my survey name to the layout_global.twig file of my template, an extension of bootswatch.
Here is the code:
<h1>{{ aSurveyInfo.name }}</h1>
This works on every page except the registration page, where it simply displays nothing, but does not give an error.
Can anyone verify that this should work, or if I've done something wrong? I have a support issue open but the 24 response time is too slow.
Any help would be very much appreciated. I have a deadline very soon to get this done.
Here is the code:
<h1>{{ aSurveyInfo.name }}</h1>
This works on every page except the registration page, where it simply displays nothing, but does not give an error.
Can anyone verify that this should work, or if I've done something wrong? I have a support issue open but the 24 response time is too slow.
Any help would be very much appreciated. I have a deadline very soon to get this done.
The topic has been locked.
- LouisGac
- Visitor
5 years 11 months ago #169453
by LouisGac
Replied by LouisGac on topic aSurveyInfo not available on registration page?
it has been fixed
github.com/LimeSurvey/LimeSurvey/commit/...c65f1e94eec67db75b08
github.com/LimeSurvey/LimeSurvey/commit/...c65f1e94eec67db75b08
The topic has been locked.
- medhat
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 2
5 years 8 months ago #173424
by medhat
Replied by medhat on topic aSurveyInfo not available on registration page?
Hi,
I'm having the same issue in the token page (survey's title is not showing in the "enter a valid token" page).
Is it also a bug?
Regards,
Medhat
I'm having the same issue in the token page (survey's title is not showing in the "enter a valid token" page).
Is it also a bug?
Regards,
Medhat
The topic has been locked.
- medhat
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 2
5 years 7 months ago #174057
by medhat
Replied by medhat on topic aSurveyInfo not available on registration page?
Still having the same issue in Version 3.14.8+180829
Any ideas guys?
Regards,
Medhat
Any ideas guys?
Regards,
Medhat
The topic has been locked.
- LouisGac
- Visitor
5 years 7 months ago #174068
by LouisGac
Replied by LouisGac on topic aSurveyInfo not available on registration page?
1st : update
then:
github.com/LimeSurvey/LimeSurvey/blob/ma...rController.php#L519
so it should be available
then:
github.com/LimeSurvey/LimeSurvey/blob/ma...rController.php#L519
so it should be available
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13676
- Thank you received: 2496
5 years 7 months ago #174093
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 aSurveyInfo not available on registration page?
@Louis : this was not set by LSTwig view directly ? We can't fill aSurveyInfo if there are a surveyid (with current language) ?
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.
- LouisGac
- Visitor
5 years 7 months ago #174101
by LouisGac
Replied by LouisGac on topic aSurveyInfo not available on registration page?
I'm not sure to understand your question.
But basically, RegisterController was not calling getSurveyInfo to generate the data (in 2.x neither).
So the data available in the register view were pretty poor.
But basically, RegisterController was not calling getSurveyInfo to generate the data (in 2.x neither).
So the data available in the register view were pretty poor.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13676
- Thank you received: 2496
5 years 7 months ago #174110
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 aSurveyInfo not available on registration page?
I think we can always get and fill aSurveyInfo here :
github.com/LimeSurvey/LimeSurvey/blob/85...iewRenderer.php#L463
Maybe with a merge ? And with default with all used part (title , adminname etc … maybe adding ressourceurl + asseturl etc …)
Maybe with a merge ? And with default with all used part (title , adminname etc … maybe adding ressourceurl + asseturl etc …)
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.