Loading

[SOLVED] Choose collapse by default

General Discussion around Collabtive

[SOLVED] Choose collapse by default

Postby tamiel » 23.10.2014, 23:49

I would like to do two things:

1. On the main page, have the tasklist show open instead o projects.
2. When I click on a project, it goes directly to the task list, not the dashboard.

I have toyed with index.tpl and "win_block" (<a href="javascript:void(0);" id="projecthead_toggle" class="win_block") but no success.
tamiel
 
Posts: 6
Joined: 26.08.2013, 15:04

Re: Choose collapse by default

Postby Remiguel » 25.10.2014, 12:34

Hi tamiel

For the first point, you have to change the index on the line 618 (index.tpl template)

Code: Select all
activateAccordeon(1);


instead of

Code: Select all
activateAccordeon(0);


For your second point, please replace, in the same template on the line 105, manageproject by managetask ;)

Code: Select all
<a href="managetask.php?action=showproject&amp;id={$myprojects[project].ID}" title="{$myprojects[project].name}">
Remiguel
 
Posts: 96
Joined: 10.06.2014, 09:34
Location: Spain / France

Re: [SOLVED] Choose collapse by default

Postby Philipp » 27.10.2014, 07:24

For our next release we will implement a new feature: the blocks on the desktop will remember which one was clicked last, and re-open that when you return to the desktop.
User avatar
Philipp
Site Admin
 
Posts: 1118
Joined: 14.12.2007, 03:06
Location: Saarbrücken, germany


Return to General

Who is online

Users browsing this forum: No registered users

cron