The Content List widget is pretty flexible - with the right combination of settings, it can be used to show the latest 5 new pages, a single random item, etc, and can format them as a list or as content. It would be great to add a sort option for Updated date. Then you could create lists of "recently updated" content too.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | interdiff.txt | 2.18 KB | dsnopek |
| #6 | panopoly_widgets-sort-updated-2395719-6.patch | 3.24 KB | dsnopek |
Comments
Comment #1
cboyden commentedPatch is attached.
Comment #2
cboyden commentedHere's another version that also adds the updated date to the display - it makes sense to have it as an option if this is to be used for a Recently Updated list.
Comment #3
dsnopekI haven't tested this yet, but I'm curious about the affect these changes will have on existing sites? If someone already used a "Content list" widget, will this add an "Updated" field or will they have to edit the widget and enable the field for it to appear? Obviously, we'd prefer the latter.
Comment #4
cboyden commentedI did a quick test:
This is a bit confusing, since the preview does not match what the checkboxes should be doing. But it looks like it won't add the updated date to widgets until you actually save the widget.
Comment #5
dsnopekCool, thanks for checking!
Comment #6
dsnopekI just tested this and made a couple changes:
Comment #8
dsnopekHrm. Also swear that I commented on this one! Anyway, this has been committed.