dashboard modify question

Hsu Yao Chang December 7, 2015

Dear all, 

If we add a new space for new dashboard, how can we make it not shown at the footer and header location? Thank you.

footer.jpgheader.jpg

1 answer

0 votes
Hsu Yao Chang December 8, 2015

Dear all, 

We can modify dashboard to use new dashboard to replace original dashboard. But we can not use "Space Directory" function . Our layout code is listed as below:

 

## GLOBAL DECORATOR
## This decorator handles a global context, i.e. information which is independent of space.
## Supports modes: 'dashboard', 'userdir', 'rss'.
#set ($mode = $params.get("mode"))
#set ($context = $params.get("context"))
#set ($helper = $params.get("helper"))
#set ($infoPanelWidth = $params.get("infopanel-width"))
#set ($maxFavouritePages = "20") ## Change this value to increase the default number of favourite pages displayed on the Dashboard
#infoPanelInitFromParams()
#requireResourcesForContext("global")
<!-- GENERAL PAGE DECORATING BEGINS -->
#assistiveSkipLink("assistive.skiplink.to.dashboard.recent.updates" "dashboard-recently-updated")
<div class="pagebody">
#parse ( "/template/includes/actionerrors.vm" )
<table class="dashboard" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
#if ($mode == "dashboard")
#parse ("/decorators/includes/dashboard-navigation.vm")
#requireResourcesForContext("dashboard")
#rssautodiscovery($action.rssDescriptor)
#permitSearchEngines()
<td class="left" width="100%" valign="top">
<div>
$helper.renderConfluenceMacro("{include:DAS:Dashboard Home}")
<br />
</div>
<div>
#dashboard_renderGlobalActions("dashboardActionsId", ["DAS"] )
</div>
</td>
#elseif ($mode == "userdir")
<td width="100%" valign="top">
$body
</td>
#elseif ($mode == "rss")
<td width="50%" valign="top">
$body
</td>
#end
## INFO PANEL FOR ANY PAGE
#if ($infoPanelRequired)
<td width="$infoPanelWidth" valign="top" id="helptd">
#infoPanel(true true true true)
</td>
#end
</tr>
</table>
</div>
#parse ( "/breadcrumbs.vm" )
<content tag="browse-menu">
#menuMacros_renderGlobalBrowseMenu()
</content>
<!-- GENERAL PAGE DECORATING ENDS -->

 

Would it be possible to help us to solve the problem? Thank you.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events