Project

General

Profile

Actions

Feature #17578

closed

Newline for Tabs with divs2tabs

Added by Malte Jansen about 17 years ago. Updated over 14 years ago.

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

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

Description

I would be nice to decide, where the newline of the Tab-MenĂ¼ (template.php->getDynTabMenu()) starts. The 'newRowCharLimit' of 50 very static.

So have defined the 'newline'-tag in the $TCA

Here small example:

$TCA["table"] = Array (
"types" => Array (
"0" => Array("showitem" => "--div--;Tab in first line,somefields,--div--;Tab in second Line;newline,somefields2")
)
);

Sorry, I modified and patch these Files with 2 other patches. so there is no real patch yet.

(issue imported from #M6256)


Files

07-09-04_screen_newlinetab.JPG (7.78 KB) 07-09-04_screen_newlinetab.JPG Administrator Admin, 2007-09-04 15:04
DynTabMenu_v1.patch (3.83 KB) DynTabMenu_v1.patch Administrator Admin, 2007-10-09 20:28
newline_for_tabs_v1_(4.1.3).patch (2.07 KB) newline_for_tabs_v1_(4.1.3).patch Administrator Admin, 2007-10-23 23:01
Actions #1

Updated by Malte Jansen about 17 years ago

New Patch...
Only with this bug.

Only 3 lines are added.

Actions #2

Updated by Malte Jansen about 17 years ago

DOC API CORE -> 4.2. $TCA array reference -> ['types'][key] section

-> Key: showitem

Description:
...
Notice: Instead of a real fieldname you can theoretically insert "--div--" and you will have a divider line shown. However this is not rendered by default so it has no significance. Using "newline" for Part 3., this Tab will be show in a newline.

Example:
"types" => Array (
"0" => Array("showitem" => "
--div--;Your Label,field1,field2,
--div--;Your Label2;newline,field3,field4
")
)
...

Technical Information:
On the first tab "newline" has no effect.

Actions #3

Updated by Ingo Renner about 17 years ago

committed to trunk

Actions

Also available in: Atom PDF