Bug #17244
closedBackend task center does not work properly
0%
Description
Not showing links under task ovwerview namely quicknote, Recent Pages, Actions, messages, tasks ,
(issue imported from #M5497)
Files
Updated by Benni Mack almost 17 years ago
The problem is that dyntabmenu (from template.php) now hides empty items and thinks the taskcenter items are empty.
The problematic code is in typo3/template.php
$isNotEmpty = strcmp(trim($def['content']),'');
// "Removes" empty tabs
if (!$isNotEmpty && $dividers2tabs == 1) {
continue;
}
Bernhard, since this is probably your commit, can you take care of it?
While you're at it, could you rename $isNotEmpty to $isEmpty and negate it before there. This sounds quite strange: if (negate $isNotEmpty ... this means isEmpty right, why make it complicated?
Updated by Benni Mack almost 17 years ago
ok. I found out that the task center menuItems only contain $def['icon'] and not $def['content']
Updated by Malte Jansen almost 17 years ago
You can disable empty tabs....
dividers2tabs = 1 : will remove empty tabs
dividers2tabs = 2 : will disable empty tabs
Updated by Bernhard Kraft almost 17 years ago
Hi !
I started this patch (hiding empty dynTabs) - but AFAIR the mentioned code above is not from me:
if (!$isNotEmpty ... contains a double-negation - which isn't very nice and causes confusion.
I will take care of this problem and post solution in the next days.
Updated by Benni Mack almost 17 years ago
Hi Bernhard,
thanks for taking care of this. I think Malte Jansen already sent a patch to the Core list today as a response to this issue.
Updated by Benni Mack over 16 years ago
hey all,
this should be fixed then, right?
Updated by Bernhard Kraft almost 16 years ago
I attached a bugfix and sent it to the core list ...
Waiting for a +1