Project

General

Profile

Actions

Bug #59523

closed

Content Element "Special Menus"

Added by Martin Weisbach almost 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2014-06-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Using the Content Element "Special Menus" in this case the "Menu of selected pages" the number of pages which can be added is limited to 22. If you try to add number 23 you get the message: "The fields marked with a yellow exclamation mark are not yet correctly filled in. Please complete them properly."

I hoped that this might be fixed now in 6.2 but it's still there. For me this is no bigger problem, adding additional records to the "Menu of selected pages" can be done in the database directly, but this is not a solution to offer to my customers.

Actions #1

Updated by Xavier Perseguers almost 10 years ago

The field in database (tt_content/pages) is a TINYTEXT, this means it can hold up to 255 characters.

If you take (in a bigger websites) page identifiers with 4 digits, this means 5 characters with the comma to be stored, you get 255 / 5 = 51

So this value could probably be raised a bit however I wonder if it really makes sense UX-wise. If you need to raise it for your own requirements you may do that in typo3conf/extTables.php:

$GLOBALS['TCA']['tt_content']['columns']['page']['config']['maxitems'] = 50;
Actions #2

Updated by Martin Weisbach almost 10 years ago

I already tried that but the yellow exclamation marks is still there and so the content element can not be saved in the backend ... I would change the field in the database directly to text or something so that my customer is able to work on that stuff by himself - but I don't know if it would have any side effects to change that database field to something else?

Actions #3

Updated by Marc Wöhlken almost 10 years ago

Probably already noticed, but Xaviers code example contains a little typo. Has to be "pages" instead of "page":

$TCA['tt_content']['columns']['pages']['config']['maxitems'] = 50;

Actions #4

Updated by Martin Weisbach almost 10 years ago

Hi Marc, no, I have to admit I haven't noticed that at all and - tada - now it works! Thanks a lot for the hint!

Actions #5

Updated by Mathias Schreiber over 9 years ago

  • Target version changed from next-patchlevel to 7.4 (Backend)
Actions #6

Updated by Gerrit Code Review almost 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39532

Actions #7

Updated by Gerrit Code Review almost 9 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39532

Actions #8

Updated by Gerrit Code Review almost 9 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39532

Actions #9

Updated by Gerrit Code Review almost 9 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39532

Actions #10

Updated by Benni Mack almost 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #11

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF