webketje / GS-Custom-Settings

A GetSimple CMS plugin for custom site, theme and plugin settings. Uses Knockout & RequireJS
http://webketje.github.io/projects/gs-custom-settings
2 stars 1 forks source link

Make sections foldable #10

Open webketje opened 9 years ago

webketje commented 9 years ago

Tested and working, however compromises the 'Search...' function (eg fold/unfold icon not updating properly, titles sometimes included).

Depends also on how this should be put to work: 1) A section title regroups all settings that follow it, until the next section title (easiest to implement) 2) A section title regroups all settings that have the same prefix (similar to return_setting_group function), however, that's messing with the display in Manage vs. Edit mode. 3) A section title regroups settings assigned to it in the UI (but adds an extra layer of complexity, & same problems as 2))