Feature #32388
Sorting of CE
| Status: | Resolved | Start date: | 2011-12-08 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | Layout and UI | Spent time: | - | |
| Target version: | - | |||
| TYPO3 Version: | 4.5 | PHP Version: | ||
| Votes: | 0 |
Description
The contained content elements should be sortable with either dragndrop or with the classic up/down arrows.
History
Updated by Jo Hasenau over 1 year ago
- Status changed from New to Needs Feedback
- Assignee set to Felix Kopp
Well - this could be confusing, since the elements listed in the IRRE-field aren't grouped by their columns. So you could do a sorting that still would be broken by the columns in the page view.
So IMHO we would need a kind of "optgroup" in the list of items before we apply sorting here.
Updated by Philipp Gampe over 1 year ago
Sounds more like a core feature. I think this could be useful for all IRRE elements.
Updated by Felix Kopp over 1 year ago
Updated by Jo Hasenau over 1 year ago
- Status changed from Needs Feedback to On Hold
I added another sorting field to foreing_sortby, so that at least the sorting that is shown in the editing form of the grid container will look kind of "grouped" by column.
Additionally I disabled the sorting arrows and d&d sorting completley, since it won't make sense until we got a universal solution for any IRRE element.
Updated by Jo Hasenau over 1 year ago
Commit will follow tonight.
Updated by Jo Hasenau over 1 year ago
- Status changed from On Hold to Resolved
Updated by Gregor Agnes 4 months ago
- Status changed from Resolved to New
- Assignee deleted (
Felix Kopp)
We have the issue, that if we can't change the sorting of the elements we have no control of excluding already displayed news of the extension tx_news.
If I change the sorting in the List-Module, the placement of the grid-column gets changed to. So this is not a solution.
If I change the sorting in the DB directly, everything works fine.
So I think the items in the IRRE field have to be sortable. Otherwise you have no control on the elements global sorting in a complex gridelement.
Updated by Jo Hasenau 4 months ago
- Category set to Layout and UI
- Status changed from New to On Hold
- TYPO3 Version set to 4.5
What have gridelements to do with already displayed news items?
Grid containers can only contain content elements, so there is no way of sorting these with GE anyway.
But: We are currently working on an improved list module, that will contain several features to handle nested grid structures correctly.
Check out the current trunk to get a rough imagination of the things to come ;-)
Still we won't make the IRRE field sortable since this would mean to implement the same nested structures there as well, which is not on our list for the upcoming releases.
Since sorting will be possible via D&D AND with the list module in GE 2.0, I don't think we will implement this additional sorting option at all.
Updated by Gregor Agnes 4 months ago
We have to news plugins in one nested grid-element. The first one displays one news in a different layout than the second one. And the second one should not display news that are already display in the first one. This is an option in "news".
But the value of the sorting field in the content element of the first plugin CE is higher than the value of the sorting field of the second plugin CE.
In short: There is a problem, if there are two plugins in a complex GE if the order of those plugins is functionally relevant.
Get me right: I don't complain, I just want to document :)
And thx for the great extension!
Updated by Jo Hasenau 4 months ago
If the order is the only way to distinguish between "first" and "second", this just means, that the extension is not enabled to work with nested columns :-)
In this case it would not help to activate the IRRE sorting anyway, since it would be overriden by D&D and other sorting actions. These actions consider sorting within the relevant columns only, thus ignoring elements of other columns.
Even after we will have made the list module "grid elements" aware, this will still be a problem, since you will still be able to sort elements within their particular column only.
In this special case you could activate the IRRE sorting by activating it in your TCA settings, but making this a default option IMHO is no good idea.
Updated by Jo Hasenau 4 months ago
- Status changed from On Hold to Resolved