Page 1 of 1

[SOLVED] Choose collapse by default

PostPosted: 23.10.2014, 23:49
by tamiel
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.

Re: Choose collapse by default

PostPosted: 25.10.2014, 12:34
by Remiguel
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}">

Re: [SOLVED] Choose collapse by default

PostPosted: 27.10.2014, 07:24
by Philipp
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.