User Console
The Pentaho User Console is the Web interface to navigate Pentaho solutions on the BI Server. It was introduced in Pentaho 2.0.Theming
For some basic theming, you can edit/replace the following files: Site icon:${pentaho}/tomcat/webapps/pentaho-style/favicon.ico
${pentaho}/tomcat/webapps/ROOT/favicon.ico Login page:
${pentaho}/tomcat/webapps/pentaho/jsp/PUCLogin.jsp
${pentaho}/tomcat/webapps/pentaho-style/images/login/start_logo.png User Console:
${pentaho}/tomcat/webapps/pentaho/mantle/launch/images/ql_logo.png
${pentaho}/tomcat/webapps/pentaho/mantle/logo.png
${pentaho}/tomcat/webapps/pentaho/mantle/logo_bg.png For more complex theming, you will need to edit the JAR file. MantleSettings.properties is the main configuration file inside the mantle-<version>.jar file. You can do interesting things like toggling features to show by default and defining Web pages or reports to automatically load (in tabs) when you log in.
Disable "Are you sure you want to navigate away from this page?"
If you wish to disable the warning "Are you sure you want to navigate away from this page? Navigating away from this page may terminate your session. Press OK to continue, or Cancel to stay on the current page" in the Pentaho User Console, you can do so by altering the 'onbeforeunload' reference in the javascript code. Have a look at the following files, which have been generated using Google Web Toolkig (GWT)- $biserver-ee/tomcat/webapps/pentaho/mantleLogin/mantleLogin.nocache.js
- $biserver-ee/tomcat/webapps/pentaho/mantle/mantle.nocache.js
d.onbeforeunload=function(a){var c,b;try{c=e()}finally{b=f&&f(a)}if(c!=null){return c}if(b!=null){return b}};d.onbeforeunload=null;
find . -exec grep -l 'onbeforeunload' {} \;
on 07/10/2009 at 16:53