Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

Put You can use the following code Javascript in your Userview's settings (i.e. Custom Javascript) "Userview Builder > Settings > Custom Javascript" and change the path to your favicon_my.ico image filename accordingly.

Then copy your .ico image into "...\apache-tomcat-8.5.23\webapps\jw\images\" folder.


Code Block
// Set the Favicon as the page is loading
$(document).ready(function() {
    // Set the Favicon after page load, in case the above doesn't set it properly
    $("head").append('<link rel="shortcut icon" href="/jw/plugin/our.theme.Theme/images/favicon_my.ico"/>');
    // This might be required as well in some browsers
    $('link[rel="shortcut icon"]').attr('href','/jw/plugin/our.theme.Theme/images/favicon_my.ico');

Credit: Solnet Solutions