Feature #17578
closedNewline for Tabs with divs2tabs
0%
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
Updated by Malte Jansen about 17 years ago
New Patch...
Only with this bug.
Only 3 lines are added.
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.