Welcome to the LimeSurvey Community Forum

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

Replacement Fields Values

  • mjwallach
  • mjwallach's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 6 months ago #126457 by mjwallach
Replacement Fields Values was created by mjwallach
Where are the values for replacement fields stored (e.g. privacymessage)?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 6 months ago #126461 by tpartner
Replied by tpartner on topic Replacement Fields Values
Should be in the translation files - manual.limesurvey.org/Translating_LimeSurvey

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • mjwallach
  • mjwallach's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 6 months ago #126478 by mjwallach
Replied by mjwallach on topic Replacement Fields Values
Thank you, I found text in the PO file. However, each line of the privacy message has its own entry in the file. How does the system know which lines should be put into the {PRIVACYMESSAGE} replacement variable to create the entire message?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 6 months ago #126541 by tpartner
Replied by tpartner on topic Replacement Fields Values
It's in /application/helpers/replacements_helper.php (around line 763), but be very careful hacking the core files.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 6 months ago #126565 by DenisChenu
Replied by DenisChenu on topic Replacement Fields Values
Hi,

Without hacking core code : you can use privacy.pstpl in your template.

Denis

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