-
Notifications
You must be signed in to change notification settings - Fork 153
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
Customization of site settings #243
Comments
Not yet I'm afraid, not that's documented anyway. The settings functionality needs reworking and will be changed at some point in the next few releases to make it extensible in the way custom entities are. |
Thanks for your response. I look forward to this enhancement. |
This functionality related to the idea of having singular custom entities e.g. having a "Menu" custom entity that will only ever have one entry. This is similar to the way customizable settings would work. The idea is that you would create a "SettingsDefinition" (naming tbd) that would have the following properties:
Questions
Example settings/singular entities
|
I definitely need this ability for my menus. Looking through your questions...
Hopefully this is helpful. I've been really impressed with Cofoundry so far. Currently redeveloping a site which was using Umbraco - which I would never use again with all the hassle it's been. |
Many of my ideas/scenarios could be solved with classes like this:
Storage could simply be in a table like this:
Add to this meta data like created-date or even versioning/change-history. With a table like this it would not be necessary to think in terms of singleton entities. On the other hand you may already have so much built-in utility stuff for entities so adding a new data table like this would be silly. I'll leave it to you guys - this is just some ideas for inspiration. |
Stumbled across this issue when searching for something similar to what is described here. Are there any plans to tackle this any time soon? If it helps I have two distinct use-cases for this kind of functionality:
Thanks as ever for this truly awesome CMS - I'm a big fan. |
@relatable-web for point number two, I wonder if feature #391 would work? It's not developed but it is an easier implementation than this one. I did start a spike for this a while back when I had some free time but unfortunately I've been too busy to look at new features recently. |
Thanks for the reply @HeyJoel. If I understand your suggestion in #391 correctly, whilst it'd address the issue it would be more of a work-around than a solution because it'd still require a dedicated custom entity type to represent the settings, then editors would need to be instructed to maintain only one instance of this entity. Not a major issue but I think it starts making the admin UI more confusing for the non-technical user. But maybe a special type of custom entity - a settings entity - could be introduced? Behaviourally it'd work just like any custom entity (so could just be a new binary flag on the entity definition) but the UI could surface these in a separate blade of the UI and restrict them to 1 instance max. But obviously you know your CMS far better than I do so I have no real idea of the complexity involved in such changes. Hopefully food for thought though :) |
@relatable-web ok I understand now, it's a single set of settings for the custom entity type, not per custom entity instance. This would be a separate feature so I've opened issue #552 to cover it. |
Hello,
Is there a way to customize Site settings ? Currently there are "Application name" and "Allow automatic updates", but I would like to add my own settings via the admin interface.
Thanks a lot
The text was updated successfully, but these errors were encountered: