Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMS Definable Fields #19

Open
mspacemedia opened this issue Nov 5, 2019 · 4 comments
Open

CMS Definable Fields #19

mspacemedia opened this issue Nov 5, 2019 · 4 comments

Comments

@mspacemedia
Copy link

It would be great to have a way to build sets of fields in the settings tab, for use in the CMS - thus allowing admins to specify fields to store and editors to fill them in based on their initial choice when creating a new record.

@phptek
Copy link
Owner

phptek commented Nov 5, 2019

When you say "fields" are you referring to "Form Fields" or "Database Fields"?

@phptek
Copy link
Owner

phptek commented Nov 5, 2019

TBH, I'm still having trouble envisaging what this enhancement would do. Can we start with a super-high level description of the benefit to the user of this feature? If you know how to write user-stories, that would help immensly - for example (off the top of my head):

As a CMS Content Editor
I would like to be able to add multiple, arbitrary form-fields to a JSONText "aware" database field
So that I don't need to insruct a developer to edit PHP or YML do increase/decrease the available fields

@mspacemedia
Copy link
Author

Form fields - sorry!

@mspacemedia
Copy link
Author

mspacemedia commented Nov 5, 2019

As a CMS Admin
I would like to be able to add multiple fields using a title to define a set, arbitrary form-fields to a JSONText "aware" database field. So that I don't need to insruct a developer to edit PHP or YML to increase/decrease the available fields

As a CMS Content Editor
I would like to be given a choice of records (via DropdownField using each sets title) held in the settings when creating a new record, the modeladmin would then populate the getCMSFields using the fields defined earlier by the admin and save the results as a JSONText string for future editing and querying.

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

No branches or pull requests

2 participants