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
Sort Template positions in module template positions dropdown #5682
Conversation
Aren't they in the order that they are listed in the templateDetails.xml A template creator may have placed them in specific order and this will
On 12 January 2015 at 12:22, Hannes Papenberg notifications@github.com
Brian Teeman |
Yes, they are displayed in the order that they are in the XML. And yes, it might be in the order that they appear in the template. I would however argue that it is a lot simpler for the user when the positions are in alphabetical order. Especially for a user that already knows which position he wants, which I would argue is the case in 90% of the cases, it's quicker to look out for the alphabetical order than the other way around. When I know I want "Right", its quicker for me to find the position under R, than to remember that it is below "heading" and "left", but above "content-top". That would also assume that all template developers consciously order/group the positions in the XML. |
I am not saying its wrong to change to alphasort. Personally I add On 12 January 2015 at 12:56, Hannes Papenberg notifications@github.com
Brian Teeman |
@test Success. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5682. |
@test works! |
Moving to RTC Thanks to all! This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5682. |
Sort Template positions in module template positions dropdown Thanks all :-)
This PR sorts the template positions in the module manager when selecting the position for the template by template and then by position. It also takes into account the translated name of the position.
How to test