Bug #59523
closedContent Element "Special Menus"
100%
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.
Updated by Xavier Perseguers over 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;
Updated by Martin Weisbach over 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?
Updated by Marc Wöhlken over 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;
Updated by Martin Weisbach over 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!
Updated by Mathias Schreiber almost 10 years ago
- Target version changed from next-patchlevel to 7.4 (Backend)
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Benni Mack over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 0c4d7e20cb2a36a5ec39e796b4a1254b93a44019.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed