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
  • acp_tests's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 10 months ago #169401 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.
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
5 years 10 months ago #169453 by LouisGac
The topic has been locked.
More
5 years 7 months ago #173424 by medhat
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
The topic has been locked.
More
5 years 7 months ago #174057 by medhat
Still having the same issue in Version 3.14.8+180829
Any ideas guys?

Regards,
Medhat
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
5 years 7 months ago #174068 by LouisGac
1st : update
then:
github.com/LimeSurvey/LimeSurvey/blob/ma...rController.php#L519

so it should be available
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 7 months ago #174093 by DenisChenu
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
  • LouisGac's Avatar
  • Visitor
  • Visitor
5 years 7 months ago #174101 by LouisGac
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.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 7 months ago #174110 by DenisChenu
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 …)

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