View Issue Details

IDProjectCategoryView StatusLast Update
0004496SOGowith SOGopublic2018-06-29 13:12
Reporterakinjoe Assigned Tofrancis  
PriorityimmediateSeverityminorReproducibilityhave not tried
Status assignedResolutionreopened 
Summary0004496: Cannot edit commonjs - Tried changing the backgorund color pallete but did not work
Description

Hi everyone,

I tried editing the background color by changing the color in commonjs file with my intended color, then restarted sogo but it did not work.My intension is to change the gray backgorund color with a specific gary color. My custom gray color background color in the web interface did not change.

I realized that the commonjs did not even execute at all. Changes in common js actually did not have any effect.

How can i customize the colors in commonjs file. Even better how to change background color in the sogo web interface. I am trying to change the gray background with a different gray color code.

Thanks for your assistance
Akinjoe

TagsNo tags attached.

Activities

francis

francis

2018-06-29 10:39

administrator   ~0012932

Please refer to this section of the developer's guide:

https://sogo.nu/files/docs/SOGoDevelopersGuide.html#_defining_an_alternate_color_theme

akinjoe

akinjoe

2018-06-29 11:32

reporter   ~0012933

I have copied this exact line

SOGoUIAdditionalJSFiles = (js/theme.js);

into /etc/sogo/sogo.conf. Then restarted sogo.

I was expecting the 'theme.js' file to automatically appear in this location
: /usr/lib/GNUstep/SOGo/WebServerResources/js

but it did not. So i guess, i have to manually create the 'theme.js' file.

The next problem is how to go about editing the 'theme.js' file.

Is there any instruction on how to do it ?

francis

francis

2018-06-29 12:25

administrator   ~0012934

Have you installed packages? On which distro are you?

The file should be bundled in all packages.

Ref: https://raw.githubusercontent.com/inverse-inc/sogo/master/UI/WebServerResources/js/theme.js

akinjoe

akinjoe

2018-06-29 13:12

reporter   ~0012935

But is there a particular line where i am supposed to place this code
" SOGoUIAdditionalJSFiles = (js/theme.js); "

in "/etc/sogo/sogo.conf " ?

I placed it right under the web interface section. Just exactly like this;

/ Web Interface /
SOGoUIAdditionalJSFiles = (js/theme.js);

Issue History

Date Modified Username Field Change
2018-06-29 10:31 akinjoe New Issue
2018-06-29 10:39 francis Note Added: 0012932
2018-06-29 10:39 francis Status new => closed
2018-06-29 10:39 francis Assigned To => francis
2018-06-29 10:39 francis Resolution open => no change required
2018-06-29 11:32 akinjoe Note Added: 0012933
2018-06-29 11:32 akinjoe Status closed => feedback
2018-06-29 11:32 akinjoe Resolution no change required => reopened
2018-06-29 12:25 francis Note Added: 0012934
2018-06-29 13:12 akinjoe Note Added: 0012935
2018-06-29 13:12 akinjoe Status feedback => assigned