Ticket #131 (new enhancement)
Break Admin Options Out of a Single Table Row
| Reported by: | derek | Owned by: | derek+mike |
|---|---|---|---|
| Priority: | low | Milestone: | 1.1 |
| Component: | Administration | Version: | 1.0b3 |
| Severity: | major | Keywords: | |
| Cc: | derek@…, mike@…, stefan@…, johan@…, ryan@…, anti@… |
Description
- presently, plog-config is a table with a single row
- imo, this setup isn't particularly extensible and is hampering admin panel development
- I would like to see plog-config become 2-dimensioned, mainly to allow greater options metadata, particularly:
- default (e.g. '0')
- label (e.g. "Thumbnail Size")
- option "section" (thumbnails, interface, etc)
- option "subsection" (sort order, comments, etc)
- datatype ("yn", "text", "enum", "int")
- privledges (int, 3 tiers?)
- this allows for iterability in the control panel, and SQL queries via "GROUP BY section,subsection"
- iterate via foreach() to generate options table
- it would also be a good chance to break out the login settings from plog-config and put them into their own table, to begin some semblance of a user system
Thoughts? This is a big leap, so I'm starting this ticket discussion-style and going from there. Does anybody else believe this would be a positive step for dev? This would definitely affect the admin panel, as well as _upgrade and _install.
Change History
Note: See
TracTickets for help on using
tickets.
