Bug #17244
Backend task center does not work properly
| Status: | Resolved | Start date: | 2007-04-26 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Bernhard Kraft | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| TYPO3 Version: | 4.1 | Complexity: | ||
| PHP Version: | 4.3 | |||
| Votes: | 0 |
Description
Not showing links under task ovwerview namely quicknote, Recent Pages, Actions, messages, tasks ,
(issue imported from #M5497)
History
Updated by Benjamin Mack over 5 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 Benjamin Mack over 5 years ago
ok. I found out that the task center menuItems only contain $def['icon'] and not $def['content']
Updated by Malte Jansen over 5 years ago
You can disable empty tabs....
dividers2tabs = 1 : will remove empty tabs
dividers2tabs = 2 : will disable empty tabs
Updated by Bernhard Kraft over 5 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 Benjamin Mack over 5 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 Benjamin Mack almost 5 years ago
hey all,
this should be fixed then, right?
Updated by Bernhard Kraft over 4 years ago
I attached a bugfix and sent it to the core list ...
Waiting for a +1
Updated by Steffen Kamper over 4 years ago
committed to trunk