IBM Verse: Customization of Look and Fell - NOT SUPPORTED BY IBM: Difference between revisions
(Criou a página com "Below i describe How to customize IBM Verse on premises. '''this is NOT SUPPORTED by IBM, and for each new version of VOP the code is break.''' This text is only for lear...") |
No edit summary |
||
Line 2: | Line 2: | ||
'''this is NOT SUPPORTED by IBM, and for each new version of VOP the code is break.''' | '''this is NOT SUPPORTED by IBM, and for each new version of VOP the code is break.''' | ||
= Procedure = | |||
This text is only for learning and cannot be used in production. | This text is only for learning and cannot be used in production. |
Revision as of 15:53, 12 January 2018
Below i describe How to customize IBM Verse on premises.
this is NOT SUPPORTED by IBM, and for each new version of VOP the code is break.
Procedure
This text is only for learning and cannot be used in production.
1) Stop server and open /opt/ibm/domino/notes/latest/linux/osgi/shared/eclipse/plugins/sequoia-osgi-1.0.0-0.0-231.jar
2) Change file index.html, and add lines:
<script type="text/javascript" id="customFeatures" src="/customFeatures.js"></script> </body> </html>
3) Create file /notesdata/domino/html/customFeatures.js, with the following code:
changeNavBarFull(); function changeNavBarFull() { var imageHtml = '<div id="logoBB" style="padding-left:30px;height:40px;">'; imageHtml += '<img alt="Customer Name" title="Customer Name" src="/logoCustomer.png" style="margin-top:10px;" >'; imageHtml += '</div>'; var divRole = document.querySelector('[role="banner"]'); if (divRole) { divRole.style.height = '80px'; divRole.style.backgroundColor = '#f8d117'; divRole.innerHTML = imageHtml + divRole.innerHTML; } var divMain = document.getElementById('main'); if (divRole && divMain) { divMain.style.top = '80px'; } }
4) restart server
Other features to file customFeatures.js is not necessary to restart browser.