saiku 展示优化

saiku版本:3.7.4

下面是修改步骤,如果觉得麻烦,可以直接下载源代码:https://github.com/lihehuo/saiku

1、关闭自动执行

修改文件:saiku-ui/js/saiku/Settings.js,下面是git代码对比

     ERROR_TOLERANCE: 3,
     QUERY_PROPERTIES: {
-        'saiku.olap.query.automatic_execution': true,
+        'saiku.olap.query.automatic_execution': false,
         'saiku.olap.query.nonempty': true,
         'saiku.olap.query.nonempty.rows': true,
         'saiku.olap.query.nonempty.columns': true,

2、去掉商业注释

修改saiku-ui/index.html,删除如下内容:

<script type="text/x-jquery-tmpl" id="template-upgrade">
            <div class="upgradeheader">
                You are using Saiku Community Edition, please consider <a target="_blank" href="http://saiku.meteorite.bi/support">purchasing support, or entering a sponsorship agreement with us</a> to support development. <a href="mailto:info@meteorite.bi?subject=Supporting Saiku">info@meteorite.bi</a><span class="close_tab sprite"></span>
            </div>
</script>

修改saiku-ui/js/saiku/views/Upgrade.js,注释掉类似代码即可

3、去掉欢迎页面

欢迎页面没什么用,可以直接去掉。修改saiku-ui/js/saiku/views/SplashScreen.js,去掉这些html代码即可

var template = $("");

 

参考:http://www.biaodianfu.com/saiku-interface.html

 

posted @ 2016-03-05 14:36  李秋  阅读(3424)  评论(0编辑  收藏  举报