General discussion on installation and configuration of SOGo

Text archives Help


Re: [SOGo] Integrator Question re: adding prefs to site.js?


Chronological Thread 
  • From: Charles Marcus < >
  • To:
  • Subject: Re: [SOGo] Integrator Question re: adding prefs to site.js?
  • Date: Mon, 23 Jun 2014 16:30:10 -0400

On 6/10/2014 1:22 PM, Ludovic Marcotte < > wrote:
site.js is use for 'initial preference values'.

This is documented in http://www.sogo.nu/files/docs/SOGo%20Mozilla%20Thunderbird%20Configuration.pdf :

"Settings that pushed are pushed during initial configuration are controlled by the
./defaults/preferences/site.js fle from SOGo Integrator."

"Preferences that are forced upon every restart of Thunderbird are controlled from the
./chrome/content/general/custom-preferences.js confguration file."

Thanks Ludo - working on implementing this now, but...

How do I specify values that are neither integers (assuming 'int' stands for 'integer') or boolean (true/false)?

For example, how would I specify:

user_pref("mail.addr_book.quicksearchquery.format", "?(or(Company,c,@V)(PrimaryEmail,c,@V)(DisplayName,c,@V)(FirstName,c,@V)(LastName,c,@V))");

or

user_pref("browser.cache.disk.capacity", 40960);

Just use force_bool_pref?

Thanks,


Charles



Archive powered by MHonArc 2.6.18.

Top of page