joomla / joomla-cms

Home of the Joomla! Content Management System
https://www.joomla.org
GNU General Public License v2.0
4.74k stars 3.65k forks source link

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

Open 200MPHMEDIA opened 4 years ago

200MPHMEDIA commented 4 years ago

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

brianteeman commented 4 years ago

The list is displayed in alphabetical order

200MPHMEDIA commented 4 years ago

Should the list not be ordered for “convenience” vs fixed.

The need to scroll down each time for Articles is not necessary.

Change the name from “Single Article” to “Article-Single” would put it near the top.

Changing “Archived Articles” to “Articles-Archived” would order those two items correctly.

From: Brian Teeman notifications@github.com Sent: Saturday, January 11, 2020 8:26 AM To: joomla/joomla-cms joomla-cms@noreply.github.com Cc: 200MPHMEDIA herb200mph@gmail.com; Author author@noreply.github.com Subject: Re: [joomla/joomla-cms] [4.0] Change Order of Menu Item Types for Articles (#27476)

The list is displayed in alphabetical order

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/joomla/joomla-cms/issues/27476?email_source=notifications&email_token=AHWFSXEE5XV2RG4MJSJLG23Q5HCFHA5CNFSM4KFR6SV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIWB5SA#issuecomment-573316808 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AHWFSXHTDPXU5FOAMBCD33TQ5HCFHANCNFSM4KFR6SVQ . https://github.com/notifications/beacon/AHWFSXBCRPJIHXXLTSKJHTLQ5HCFHA5CNFSM4KFR6SV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIWB5SA.gif

infograf768 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

Does the back end not change based on language.

In any case, thanks for the push back on helping with the issue.

Guess we just need to “live with it” and keep scrolling down for the most used choice.

From: infograf768 notifications@github.com Sent: Saturday, January 11, 2020 8:47 AM To: joomla/joomla-cms joomla-cms@noreply.github.com Cc: 200MPHMEDIA herb200mph@gmail.com; Author author@noreply.github.com Subject: Re: [joomla/joomla-cms] [4.0] Change Order of Menu Item Types for Articles (#27476)

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/joomla/joomla-cms/issues/27476?email_source=notifications&email_token=AHWFSXCQXUFCBSLNGTH7IJ3Q5HETNA5CNFSM4KFR6SV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIWCJLY#issuecomment-573318319 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AHWFSXBQMONB24QWWSB4DSTQ5HETNANCNFSM4KFR6SVQ . https://github.com/notifications/beacon/AHWFSXATX54QHGV47EQ2D5LQ5HETNA5CNFSM4KFR6SV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIWCJLY.gif

200MPHMEDIA commented 4 years ago

Numbering might make sense.

Problem with “overrides” reverts back to the question of: how many beginner users know how to create/invoke overrides? So that does not appear to be a proper solution.

In any case, any way that the MOST USED (Articles) should appear on a list before the LEAST USED (Archived Articles) makes sense.

From: Brian Teeman notifications@github.com Sent: Saturday, January 11, 2020 9:12 AM To: joomla/joomla-cms joomla-cms@noreply.github.com Cc: 200MPHMEDIA herb200mph@gmail.com; Author author@noreply.github.com Subject: Re: [joomla/joomla-cms] [4.0] Change Order of Menu Item Types for Articles (#27476)

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

https://user-images.githubusercontent.com/1296369/72205543-410a3b00-347c-11ea-9120-057cf9cb8cdc.png ,

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/joomla/joomla-cms/issues/27476?email_source=notifications&email_token=AHWFSXBLY3DH4CGXNUTY7W3Q5HHSBA5CNFSM4KFR6SV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIWCYZA#issuecomment-573320292 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AHWFSXGYQJZ5YBYK2G2INMDQ5HHSBANCNFSM4KFR6SVQ . https://github.com/notifications/beacon/AHWFSXBRTTXR7NFMKOXHHGLQ5HHSBA5CNFSM4KFR6SV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIWCYZA.gif

infograf768 commented 4 years ago

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 commented 4 years ago

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

Archived Articles Article

brianteeman commented 4 years ago

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

image

infograf768 commented 4 years ago

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 commented 4 years ago

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

brianteeman commented 4 years ago

The ordering could then be made consistent across all languages

infograf768 commented 4 years ago

Not sure about that as ordering depends on db collation.

brianteeman commented 4 years ago

Really. We use the ordering column everywhere

infograf768 commented 4 years ago

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 commented 4 years ago

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