Set a new order for options in frontpage, shortcuts block and shortcuts main nodes

This commit is contained in:
Manuel Cillero 2017-09-19 00:46:33 +02:00
parent 23702da60f
commit 214e32cfe9
57 changed files with 131 additions and 190 deletions

View file

@ -763,7 +763,7 @@ function stormorganization_storm_dashboard_links($type) {
'node_type' => 'stormorganization',
'add_type' => 'stormorganization',
'map' => array(),
'weight' => 1,
'weight' => 10,
);
}
return $links;

View file

@ -36,10 +36,10 @@ function theme_stormorganization_view($node, $teaser = FALSE, $page = FALSE) {
$node->content['links']['people'] = theme('storm_link', 'stormorganization', 'stormperson', $node->nid, $l_pos++);
$node->content['links']['projects'] = theme('storm_link', 'stormorganization', 'stormproject', $node->nid, $l_pos++);
$node->content['links']['tasks'] = theme('storm_link', 'stormorganization', 'stormtask', $node->nid, $l_pos++);
$node->content['links']['tickets'] = theme('storm_link', 'stormorganization', 'stormticket', $node->nid, $l_pos++);
$node->content['links']['events'] = theme('storm_link', 'stormorganization', 'stormevent', $node->nid, $l_pos++);
$node->content['links']['doks'] = theme('storm_link', 'stormorganization', 'stormdok', $node->nid, $l_pos++);
$node->content['links']['notes'] = theme('storm_link', 'stormorganization', 'stormnote', $node->nid, $l_pos++);
$node->content['links']['events'] = theme('storm_link', 'stormorganization', 'stormevent', $node->nid, $l_pos++);
$node->content['links']['tickets'] = theme('storm_link', 'stormorganization', 'stormticket', $node->nid, $l_pos++);
$node->content['links']['expenses'] = theme('storm_link', 'stormorganization', 'stormexpense', $node->nid, $l_pos++);
$node->content['links']['invoices'] = theme('storm_link', 'stormorganization', 'storminvoice', $node->nid, $l_pos++);
$node->content['links']['timetrackings'] = theme('storm_link', 'stormorganization', 'stormtimetracking', $node->nid, $l_pos++);