Hallo,I know it is possible to let SOGo load custom JS files using the SOGoUIAdditionalJSFiles parameter. Using this mechanism I want to load a file (let's say custom.js) where I can redefine the savePreferences function (defined in ./WebServerResources/UIxPreferences.js).
Now I would like to modify the standard preferences window in order to show custom components. So far, I do this modifying the file Templates/Preferences/UIxPreferences.wox. I also see there is a UIxAdditionalPreferences.wox file. Can I put my modification into the latter, not touching the UIxPreferences.wox file?
In this way, my customization can be reduced to a small set of files that together can form a "module".
Thanks to anybody can help me.
PS
I see in the UIxPreferences.wox there is a condition:
<var:if condition="shouldDisplayAdditionalPreferences">
<li target="additionalView">
<span><var:string label:value="Additional Parameters"/></span>
</li>
</var:if>
...
<var:if condition="shouldDisplayAdditionalPreferences">
<div id="additionalView" class="tab">
<var:component className="UIxAdditionalPreferences"/>
</div>
</var:if>
but I don't understand how to force the
"shouldDisplayAdditionalPreferences" condition ...
-- Francesco Spegni Skype: francesco.spegni "Ama le nuvole, le macchine, i libri, ma prima di tutto ama l'uomo" - Nazim Hilkmet -- [email protected] https://inverse.ca/sogo/lists
<<attachment: f_spegni.vcf>>
