Forum

Unable to change de...
 
Notifications
Retirer tout

Unable to change default theme

9 Posts
4 Utilisateurs
0 Reactions
6,925 Vu
(@hippolyte78)
Posts: 8
Active Member
Début du sujet
 
[#6310]

Hello,
I have a problem when I try to change default theme in parameters/globalParameters. I try to set up, lets say, noir et blanc theme, and that is what happens:
- the name of the new theme well appear in the field
- I save the change
- When I log out then log in again, it is ProjeQtOrFlatBlue theme that is set up again.
Does anyone understand why?
Many thanks for your answer.


 
Posté : 22 Oct PM 13:1010
Gautier
(@gautier)
Posts: 207
Membre Admin Registered
 

Hello,
Global parameters theme is for new user never connected.
If you want change your theme you have to go in USER PARAMETER.
Or if you are using projeqtor > v7.0.0
you can click on your name on the upper right corner


 
Posté : 22 Oct PM 15:1010
(@hippolyte78)
Posts: 8
Active Member
Début du sujet
 

Thank you for your answer. What I try to change is the default values for USER PARAMETER in GLOBAL PARAMATERS (the second field). Is this not possible? Thanks.


 
Posté : 22 Oct PM 16:1010
(@babynus)
Posts: 14952
Membre Admin
 

You can change the value in Global Parameter, but as explained Gautier, it will not have any effect for users already connected.
It will be taken into account only for new users.


 
Posté : 22 Oct PM 17:1010
(@hippolyte78)
Posts: 8
Active Member
Début du sujet
 

Many thanks for your answer Babynus. Yes it was what I thought too, but as I said in my message: I change the value, I save, but when I logout then login again, my changes are not taken in account and the default theme still appear in the field, like i did not save anything, but I did.
Do you have an idea about the origin of my problem? Thank you for your time.


 
Posté : 22 Oct PM 17:1010
(@babynus)
Posts: 14952
Membre Admin
 

1) Check that you don't have corresponding value in parameters.php file
$defauktTheme=...
Value in parameters.php file always override the value in DB

2) check that you don't have duplucates in db
SELECT * FROM parameters WHERE parameterCode='defaultTheme' and idUser is null;
should return 1 and 1 only line (delete extra lines if any)


 
Posté : 22 Oct PM 17:1010
(@hippolyte78)
Posts: 8
Active Member
Début du sujet
 

Many thanks solution 1 helped me.


 
Posté : 22 Oct PM 18:1010
(@mukamaivan)
Posts: 4
Active Member
 

It is not working for New Users.


 
Posté : 14 Juin PM 15:066
(@babynus)
Posts: 14952
Membre Admin
 

New users will get same theme as the one that appears on login screen.


 
Posté : 15 Juin AM 11:066
Share:
Retour en haut