? Error

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
17 Oct 2013

This patch reinstates the display of the ordering field for banners, contacts, newsfeeds, weblinks in the edit views.
It also adds it for articles and featured articles.

The reasoning is that it is impossible to order these items by drag and drop when the number of items is important or is displayed on multiple pages, and as well on mobile devices.

The patch includes a change to list.php as the items in the dropdown are shown untranslated (?? item ??)
That part could be taken off if it is thought that it could create B/C with 3pd extensions.

avatar infograf768 infograf768 - open - 17 Oct 2013
avatar beat
beat - comment - 17 Oct 2013

Hi JM,

I do understand your point.

Please also understand that JUX team removed those fields for reason: 1) because they are UI-wise broken, you never know where you are ordering things (before or after), 2) there was another reason related to hierarchy that Peter might remember.

If you want to put them back, I suggest a clearer UI then the proposed one here.

E.g. use optgroups or <option disabled="disabled" ...>... for existing positions, making them unselectable, and add a vertical white-space where the new ordering position can be selected BETWEEN the existing orderings. Or instead of white, a "re-order here" as blank line holders in the drop-down. That way, it is not guess-work anymore.

E.g.:

< Insert here
1. Home
< Insert here
2. Existing item 2
< Insert here
3. Existing item 3
< Insert here

Suggesting to also have a FR for this so we can use the normal process and discuss it through to make it right before putting back :+1:

avatar infograf768
infograf768 - comment - 17 Oct 2013

I do agree with have bugs. I strongly suggest we solve these bugs instead of taking off the functionnality in the UI.
Any proposal to improve the code in ordering.php and list.php is welcome.

avatar wilsonge
wilsonge - comment - 17 Oct 2013

What's wrong with the ordering field type? As I wrote the thing I should be able to fix it pretty quickly :)

avatar brianteeman
brianteeman - comment - 17 Oct 2013

If you want to move to between item2 and item3 do you click item2 or item3

avatar wilsonge
wilsonge - comment - 17 Oct 2013

Item 2. You move beneath whatever item you click on. That's something I kept consistent when I made the field generic across components.

Anyhow that's not a 'bug' in terms of what JM is talking about - I think he means code bugs rather than UI issues.

avatar wilsonge
wilsonge - comment - 17 Oct 2013

Either way. I'm indifferent as to removing them or not is the correct solution. The issue for me as I commented in the plugin/module tracker on this is making the drag and drop interface more obvious. It's so well hidden even long time Joomla users think ordering in the list view got removed after 2.5.

avatar betweenbrain
betweenbrain - comment - 17 Oct 2013
It's so well hidden even long time Joomla users think ordering in the list view got removed after 2.5.

+1 to that. I just recently "discovered" it.

avatar sovainfo
sovainfo - comment - 17 Oct 2013

@wilsonge Maybe you can properly fix http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8103&tracker_item_id=29923!

Reverting to old style reordering introduced inconsistency you don't want.

avatar sovainfo
sovainfo - comment - 17 Oct 2013

@betweenbrain See http://community.joomla.org/blogs/community/1671-joomla-30-alpha-2-notes.html

Drag'n'Drop provided by joomlashine according to Kyle!

Also a lot of help screens document it, if you find one that doesn't, let us know.

avatar wilsonge
wilsonge - comment - 17 Oct 2013

@sovainfo that tracker's been fixed but is to do with drag and drop ordering - the stuff I redid was to do with the ordering form field - completely separate items - unless I'm missing something

Again though - people don't look at the help screens unless there's something they specifically need.If they think ordering has been removed their likely not going to go to the help screens....

avatar sovainfo
sovainfo - comment - 17 Oct 2013

@wilsonge so I misunderstood, wishfull thinking, I guess. I want the drag'n'drop back for featured!

But you are right, different topic!

Add a Comment

Login with GitHub to post a comment