{"issue":{"state":"open","created_at":"2011-11-29T17:27:25Z","updated_at":"2011-11-29T17:27:25Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"importer"},"comments":0,"body":"Hi Leo,\n\nFirst, I must say the paletting system of TL is very flexible and enables developers to quickly create user friendly forms. :) But lately I find myself pushing the limits of TYPOlight's backend form configuration. For more complex backend forms, it is very common to have multiple selectors of type 'select', mainly to be able to load a small set of specific fields, depending on the selected value.\n\nIn practice, this easily creates a large maintainance obstacle when using more than 1 or 2 selectors, since selectors of type 'select' can currently only toggle _palettes_, and not _subpalettes_. The amount of unique palettes to maintain with only a few 'select' selectors will quickly run out of hand. Say you have 3 types (palette selector) and 4 subtypes (also palette selector), the palette names you'd have to specify would be:\n\ntype1subtype1\ntype1subtype2\ntype1subtype3\ntype1subtype4\ntype2subtype1\ntype2subtype2\ntype2subtype3\ntype2subtype4\ntype3subtype1\ntype3subtype2\ntype3subtype3\ntype3subtype4\n\nThis is a large amount of overhead, since in most cases the main goal of selectors of type 'select' is to _only_ load a small (but different) subset of fields directly beneath the selector when a specific value is selected. Most of the time, the 'main' fields remain the same throughout the form. \n\nIt would be very nice to be able to select subpalettes with selectors of type 'select' as well. Just like using the value of a palette selector for selecting a specific palette, you could also use a value of the subpalette selector to select a subpalette.\n\nApart from that, using only options as palette names may create conflicts when 2 selectors share the same value. Currently only 1 of that value will be used. It would be great to be able to load a specific palette when two selectors have an option selected with the same value: selector1->option1 & selector2->option1 loads palette 'option1option1' instead of just 'option1'.\n\nI hope some of these ideas are possible to implement without creating backward compatibility issues. Thank you!\n\nGreetings,\n\nMichiel Leideman\nGraphical User Interface Programmer\nID interactive\n\n[Download the attachments](http://www.contao.org/tl_files/tickets/1156.zip \"Download the attachments of this ticket\")\n\n--- _Originally created by michiel on November 11th, 2009, at 02:33pm (ID 1156)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"id":2388304,"number":1156,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"backend","color":"e6e6e6","url":"https://api.github.com/repos/contao/import/labels/backend"},{"name":"Feature","color":"4183c4","url":"https://api.github.com/repos/contao/import/labels/Feature"}],"title":"load subpalette from select instead of checkbox","closed_at":null,"html_url":"https://github.com/contao/import/issues/1156","url":"https://api.github.com/repos/contao/import/issues/1156","milestone":{"state":"open","created_at":"2011-11-29T15:29:48Z","due_on":null,"closed_issues":0,"creator":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"number":25,"description":"Contao 2.9.0 (minor release)","title":"2.9.0","open_issues":1,"url":"https://api.github.com/repos/contao/import/milestones/25"}},"action":"opened"}