-
Notifications
You must be signed in to change notification settings - Fork 11
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
Possibility to copy (child) nodes from another node #60
Comments
Funnily we just discussed this but dindt think of this perfectly legit and cool usecase - thanks for reminding us. Our options to solve this usecase are: 1 - use a custom NodeCreationHandler yourself -> but i dislike this, as the api will change with 9.0 (one could extract it into an own package then) |
Yes that's the use case I was mentioning in #50 - I introduced the signal exactly for that (cool that you are using it :)). It will be more complex to solve this for neos9, but I think it should be possible - and I agree, it should be part of the NodeTemplates package. |
We are using it too for every customer. We have a template section nodetype where the editor is able to create template sections in a hidden part of the document tree. When creating sections on any page the creation dialogue will ask if a template should be used and if so the childnodes will be copied. This is a killer feature imho. This uses the mentioned logic with a custom datasource for making the created templates selectable. So +1 for reimplementing this :) |
to support usecases like Flowpack/Flowpack.NodeTemplates#60 were we need to return a list of commands and cant handle them ourselves, it would be practical to expose a way to get the commands that would be handled
to support usecases like Flowpack/Flowpack.NodeTemplates#60 were we need to return a list of commands and cant handle them ourselves, it would be practical to expose a way to get the commands that would be handled
With NodeTemplates version 1.2 I've created the possibility to create template sites where you can add content elements to have a fast quick start (e.g. for blog posts).
For this, I've created following mixin
And following
Package.php
The
ChildNodeCopyService.php
looks like thatWith the new version, it is not possible to create this helpful feature. Should we create an API for that, to make this possible?
The text was updated successfully, but these errors were encountered: