Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue #17811: Theme options for logo and background images are not saved #2336

Conversation

gabrieljenik
Copy link
Collaborator

  • Using DIRECTORY_SEPARATOR.
  • Making logo paths on base theme config.xml file to be local, instead of relative to the LS root

@@ -66,7 +66,7 @@
<fixnumauto type="buttons" category="Simple options" width="4" title="Fix automatically numeric value" options="enable|partial|disable" optionlabels="Yes|For expression|No">off</fixnumauto>
<!-- images -->
<brandlogo type="buttons" category="Images" width="4" title="Logo" options="on|off" optionlabels="Yes|No">on</brandlogo>
<brandlogofile type="dropdown" category="Images" width="6" title="Logo file" parent="brandlogo">themes/survey/vanilla/files/logo.png</brandlogofile>
<brandlogofile type="dropdown" category="Images" width="6" title="Logo file" parent="brandlogo">./files/logo.png</brandlogofile>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Come back to solution of 3.X :

<brandlogofile>./files/logo.png</brandlogofile>

Copy link
Collaborator

@Shnoulle Shnoulle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clearly needed !

@Shnoulle Shnoulle added Code review done Version checked for code issue without testing and removed Needs code review labels Apr 26, 2022
@glimz glimz merged commit 3713129 into LimeSurvey:master Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code review done Version checked for code issue without testing
Projects
None yet
4 participants