Feature No Code Attached Yet
avatar mariantanase
mariantanase
25 Oct 2024

Steps to reproduce the issue

Hi,
I want to create a new menu in joomla, but when I save it, the title cuts me off after 49 characters.
My title that should be :
Sezione Principale Generale del Gruppo Territoriale di competenza di zona B
but it only keeps
Sezione Principale Generale del Gruppo Territori

How to avoid menu title limit ?
Thanks

Expected result

Actual result

System information (as much as possible)

Joomla 5.2.0

Additional comments

avatar mariantanase mariantanase - open - 25 Oct 2024
avatar joomla-cms-bot joomla-cms-bot - change - 25 Oct 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 25 Oct 2024
avatar fgsw
fgsw - comment - 25 Oct 2024

Can't confirm:

Image
Image

avatar mariantanase
mariantanase - comment - 25 Oct 2024

I've notice on the tabel _menu_types , the title is varchar(48) type.

avatar mariantanase
mariantanase - comment - 25 Oct 2024

No menu item, I mean menu title

avatar fgsw
fgsw - comment - 25 Oct 2024

No menu item, I mean menu title

Sorry, my fault.

avatar chmst
chmst - comment - 25 Oct 2024

confirmed for menuType.

avatar mariantanase
mariantanase - comment - 25 Oct 2024

can be changed from varchar(48) to varchar(255) manually on db, without broken something ?

avatar chmst
chmst - comment - 25 Oct 2024

@mariantanase it is true that the menutype title is cut - due to database structure. (no idea why we have this restriction, but it is an identifier).
)
Image

For publishing your menu, the title of the module ist displayed, not the menutype. So it should be possible to shorten your menuType name?

avatar mariantanase
mariantanase - comment - 25 Oct 2024

@mariantanase it is true that the menutype title is cut - due to database structure. (no idea why we have this restriction) Image

For publishing your menu, the title of the module ist displayed, not the menutype. So it should be possible to shorten your menuType name?

Unfortunately, I have many menus with the title longer than 48 characters. 48 limit is too short for me...

avatar chmst chmst - change - 25 Oct 2024
Labels Added: Feature
avatar chmst chmst - labeled - 25 Oct 2024
avatar richard67
richard67 - comment - 25 Oct 2024

The title of the menu types is only shown in backend when selecting or filtering menus by menu type. It has no meaning in the frontend. Therefore I would just suggest to use shorter titles e.g. by using abbreviations for words which are common for many menu types.

If we now increase it so it fits your needs, the next user will even want longer titles, and at the end we will end with mediumtext.

That would not really make sense.

So my opinion is to leave it as it is, but that’s only my personal opinion, others may be different.

avatar mariantanase
mariantanase - comment - 25 Oct 2024

The title of the menu types is only shown in backend when selecting or filtering menus by menu type.

I'll notice that.

It has no meaning in the frontend. Therefore I would just suggest to use shorter titles e.g. by using abbreviations for words which are common for many menu types.

Thanks!

avatar fgsw
fgsw - comment - 27 Oct 2024

Can be closed as @mariantanase give also a ThumbsUp at "So my opinion is to leave it as it is, but that’s only my personal opinion, others may be different." #44354 (comment)

avatar mariantanase mariantanase - change - 27 Oct 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-10-27 15:44:58
Closed_By mariantanase
avatar mariantanase mariantanase - close - 27 Oct 2024

Add a Comment

Login with GitHub to post a comment