2016年1月5日 星期二

Confluence-Dashboard調整layout方式EX1

Step1: Edit Site Layouts as shown as below

Step2:
修改下列程式碼
<div class="dashboard-group left">
                  
                    #dashboard_renderGlobalActions("dashboardActionsId", ["system.dashboard"] )

                    #foreach ($webPanel in $webInterfaceManager.getDisplayableWebPanels("atl.dashboard.left", {}))
                        <div class="dashboard-item">
                            $!webPanel.getHtml($req.getParameterMap())
                        </div>
                    #end
                </div>## left
<div class="dashboard-group right">
   $helper.renderConfluenceMacro("{recently-updated-dashboard:dashboard|showProfilePic=true}")
</div>## right

新的程式碼
<div>
$helper.renderConfluenceMacro("{include:DAS:dashboard}")
</div>## right

沒有留言:

張貼留言