-
Notifications
You must be signed in to change notification settings - Fork 0
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
Choosing a template BEFORE a resource is created #54
Comments
+1 this would make creating pages for non-technical clients more intuitive. |
Done and working! This certainly needs some polish (especially internationalisation is a bit "hacky"). Maybe someone more experienced can show me how to make a package out of this? :-) |
It works! GJ 👍 |
I cleaned a few things up, made a package with PackMan and submitted it to the MODX package provider. |
Great! It can help a lot! Is there some option i.e. if the parent is template ID (5) then user can choose from template ID 3,6,7? |
👍 |
@pepimpepa There are currently no options. But it uses the same MODExt control that is used by the resource editor. So there is a good chance that TemplateSelect will respect the same rules. Go, give it a try! :-) |
Normally you create a resource and the first thing you do is set a correct template, because it is often the correct one. This change always takes some time.
Before a resource is created, the user should be ask which template should be used – also when duplicating a resource.
I help myself be using defaultTemplateByParentTv.plugin but this is not exactly what I want. MODX shall ask what kind of page should be created. A default is nice, but it cannot be changed to another template before the resource is created.
The text was updated successfully, but these errors were encountered: