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

[Idea] new DataObject type: container #3691

Open
dpfaffenbauer opened this Issue Dec 3, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@dpfaffenbauer
Contributor

dpfaffenbauer commented Dec 3, 2018

I very often have the use-case where I need a container data-type where I specify what "tabs" a container has, for example: Multi-Sites, or CoreShop Stores. I wanna use other simple types under my container then: like input or checkbox or so. This should also be inheritable.

It is currently not possible to create such a type in a bundle, because in the JavaScript implementation, each editable defines where it can be placed: https://github.com/pimcore/pimcore/blob/master/bundles/AdminBundle/Resources/public/js/pimcore/object/classes/data/checkbox.js#L22

So, only possible solution currently would be to either overwrite every single type you want to use, or create a static solution for configurations (which is what I currently do).

@dpfaffenbauer dpfaffenbauer changed the title from [Idea] new type: container to [Idea] new DataObject type: container Dec 3, 2018

@dpfaffenbauer

This comment has been minimized.

Contributor

dpfaffenbauer commented Dec 3, 2018

This is especially useful if you use Pimcore in a multi-site environment or multi-store environment and each object has different settings for every store.

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