Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Request: feature to set sorting of elements in new content wizard #181

Closed
mischka opened this issue Aug 28, 2014 · 4 comments
Closed

Request: feature to set sorting of elements in new content wizard #181

mischka opened this issue Aug 28, 2014 · 4 comments

Comments

@mischka
Copy link

mischka commented Aug 28, 2014

how can I sort/order the FCE in the list on the "New content element" Wizard in TYPO3? I have found the CacheFramework entry where the TSconfig comes from, but I dont't know how I can change the sorting of the FCE's. My wizardTab is "Content-Elements".

cf_fluidcontent entity contains:

...
mod.wizards.newContentElement.wizardItems.Content-Elements {
                header = Content-Elements
                show = buz,foo,bar
                position = 0
                key = test_template
}

regards

Kay

@NamelessCoder
Copy link
Member

This is not currently possible (elements get sorted alphabetically iirc). It would have to be implemented as a new option on Flux forms when in a Fluidcontent context - I'll change the subject of this issue to become a feature request.

@NamelessCoder NamelessCoder changed the title How to sort/order FCE's in the backend on the “New content element” wizard Request: feature to set sorting of elements in new content wizard Aug 31, 2014
@NamelessCoder
Copy link
Member

Use: options="{Fluidcontent: {sorting: 100}}" on flux:form.

Sorts fluidcontent elements in each group - only works for fluidcontent.

@markhowellsmead
Copy link

The sorting isn't currently alphabetic – neither by key nor by label. Manual sorting via a numeric solution seems to be better implemented as a secondary option, rather than a primary one.

e.g., the illogical order in an extension implemented today with the newest TYPO3 and all extensions is as follows.

Keys: TicketTable, YouTube, SubscriptionTable, SplitTwo, FAQ, LocalTariff, Address

Labels: Table - tickets, YouTube video, Table - subscriptions, Two column layout, Foldable element, Table - local tariff, Address

@GuidoJansen
Copy link

Use

<flux:form 
    id="foo"
    options="{
          Fluidcontent: {sorting: '{v:l(key:\"flux.foo\")}'}
   }">

to sort alphabetically in any language

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants