Re-arrange images in fileTree widget

daniel's Avatar

daniel

22 Apr, 2021 07:44 AM

This comment was split from the discussion: Verwendung: fileTree mit mehreren Dateien

Hi, is there a possibility to re-arrange the chosen images? Like in the native Contao gallery module, where you can re-arrange the order of the chosen images just by dragging them to a new position?

  1. Support Staff 1 Posted by RockSolid Theme... on 22 Apr, 2021 07:44 AM

    RockSolid Themes's Avatar

    Yes, this possible by using 'isSortable' => true, in the eval array.

    This requires Contao 4.11 because version 4.9 doesn’t support the isSortable option: https://docs.contao.org/dev/reference/dca/fields/#evaluation

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac