Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0] Change Order of Menu Item Types for Articles #27476

Open
200MPHMEDIA opened this issue Jan 11, 2020 · 16 comments
Open

[4.0] Change Order of Menu Item Types for Articles #27476

200MPHMEDIA opened this issue Jan 11, 2020 · 16 comments

Comments

@200MPHMEDIA
Copy link

Steps to reproduce the issue

When creating a Menu Link Item for an Article, when the "Articles" selector is opened, "Archived Articles" (likely the least used), appears at the top, while "Articles" (likely the MOST used), is at the bottom and it is necessary to scroll down to it.

Is it remotely possible that "Articles" (the most used option), be moved to being the first item on the list of Menu Link Item choices? It just makes sense.

It has always been a nuisance in previous versions, and there is no reason to perpetuate it forward to 4.0 is it?

Can someone on the 4.0 team kick that into action please.

Expected result

Actual result

System information (as much as possible)

Additional comments

@200MPHMEDIA 200MPHMEDIA changed the title Change Order of Menu Item Types for Articles [4.0] Change Order of Menu Item Types for Articles Jan 11, 2020
@brianteeman
Copy link
Contributor

The list is displayed in alphabetical order

@200MPHMEDIA
Copy link
Author

200MPHMEDIA commented Jan 11, 2020 via email

@infograf768
Copy link
Member

These naming depend on the language used. What may be OK in English is not necessary correct in other languages.
This should be closed.

@brianteeman
Copy link
Contributor

The only thing I could think of would be to change the name so that it has a numerical prefix. That should work in all languages. eg 2.. Archived Articles 1. Categpry Blog

Or you could do it yourself with language overrides as I just did here

image
,

@200MPHMEDIA
Copy link
Author

200MPHMEDIA commented Jan 11, 2020 via email

@200MPHMEDIA
Copy link
Author

200MPHMEDIA commented Jan 11, 2020 via email

@infograf768
Copy link
Member

File concerned is com_content.sys.ini
We do not have the issue in French

en-GB
COM_CONTENT_ARCHIVE_VIEW_DEFAULT_TITLE="Archived Articles"
COM_CONTENT_ARTICLE_VIEW_DEFAULT_TITLE="Single Article"

fr-FR
COM_CONTENT_ARTICLE_VIEW_DEFAULT_TITLE="Article"
COM_CONTENT_ARCHIVE_VIEW_DEFAULT_TITLE="Articles archivés"
as we thought we did not need to use the word "single" ("seul") in French which would not change the order anyway but looks quite useless.

Therefore you can make an override for en-GB or we can modify in core en-GB by taking off the word "Single"

Adding a numerical prefix only for articles would make no sense imho as we should be consequent and also add such prefixes for other components. What would be the correct order for Users?

@brianteeman
Copy link
Contributor

Removing the word Single will not change the alphabetical order ;)

Archived Articles
Article

@brianteeman
Copy link
Contributor

Note that in Farsi - com_content is the penultimate set of options when selecting a menu

image

@infograf768
Copy link
Member

Removing the word Single will not change the alphabetical order ;)

It will in the sense that it would display near the top instead of the end of the list.

@brianteeman
Copy link
Contributor

It is not a good solution.
There is an ordering column in the table - its just not used :(

@brianteeman
Copy link
Contributor

The ordering could then be made consistent across all languages

@infograf768
Copy link
Member

Not sure about that as ordering depends on db collation.

@brianteeman
Copy link
Contributor

Really. We use the ordering column everywhere

@infograf768
Copy link
Member

ordering up an down does not mean it is the ordering related to language. It is only relative to alphabetical order as the collation sees it.

@brianteeman
Copy link
Contributor

I am talking about using the ordering column which is numerical.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants