Project

General

Profile

Actions

Bug #17244

closed

Backend task center does not work properly

Added by Anirudh Choubey over 17 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2007-04-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Not showing links under task ovwerview namely quicknote, Recent Pages, Actions, messages, tasks ,

(issue imported from #M5497)


Files

bug5497__2009-01-16.diff (2.71 KB) bug5497__2009-01-16.diff Administrator Admin, 2009-01-16 14:02
Actions #1

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?

Actions #2

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']

Actions #3

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

Actions #4

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.

Actions #5

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.

Actions #6

Updated by Benni Mack over 16 years ago

hey all,

this should be fixed then, right?

Actions #7

Updated by Bernhard Kraft almost 16 years ago

I attached a bugfix and sent it to the core list ...

Waiting for a +1

Actions #8

Updated by Steffen Kamper almost 16 years ago

committed to trunk

Actions #9

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF