Bug #17244
closed
Backend task center does not work properly
Added by Anirudh Choubey over 17 years ago.
Updated about 6 years ago.
Description
Not showing links under task ovwerview namely quicknote, Recent Pages, Actions, messages, tasks ,
(issue imported from #M5497)
Files
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?
ok. I found out that the task center menuItems only contain $def['icon'] and not $def['content']
You can disable empty tabs....
dividers2tabs = 1 : will remove empty tabs
dividers2tabs = 2 : will disable empty tabs
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.
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.
hey all,
this should be fixed then, right?
I attached a bugfix and sent it to the core list ...
Waiting for a +1
- Status changed from Resolved to Closed
Also available in: Atom
PDF