I have created a base document type with common properties to be used by child document types from the base. In Umbraco 7.4.3 when i create a content node, the base document type can be created at the root. How can this be disabled ?
Yes - allow content of this type in root is unchecked. All document types will be child document types from the base document type.
If the "allow content of this type" checkbox is unchecked then this node should not be albe to create at root. Howerver, i tried this on a clean Umbraco 7.4.3 install and you are correct, i can still create a root node anyway, even if i dont tick this checkbox.
You should report it to http://issues.umbraco.org/issues. Remember to write which version (7.4.3) so that anyone who is willing to help can fix it easier.
Awesome Dibs! You can probably fix it for yourself temporarily by creating a startup class and then hook a event to the ContentService.Create event, if this is critical. Otherwise I think this will probably be prioritized by Umbraco, so it's probably solved in the next upgrade.
Disable a document type from root
Dear Umbraco Team
I have created a base document type with common properties to be used by child document types from the base. In Umbraco 7.4.3 when i create a content node, the base document type can be created at the root. How can this be disabled ?
Yes - allow content of this type in root is unchecked. All document types will be child document types from the base document type.
Thanks Dibs
Hello Dibs.
If the "allow content of this type" checkbox is unchecked then this node should not be albe to create at root. Howerver, i tried this on a clean Umbraco 7.4.3 install and you are correct, i can still create a root node anyway, even if i dont tick this checkbox.
You should report it to http://issues.umbraco.org/issues. Remember to write which version (7.4.3) so that anyone who is willing to help can fix it easier.
All the best! / Dennis
Cheers Dennis
I have raised U4-8424 Unable to disable a document type from root on issues site
Thanks Dibs
Awesome Dibs! You can probably fix it for yourself temporarily by creating a startup class and then hook a event to the ContentService.Create event, if this is critical. Otherwise I think this will probably be prioritized by Umbraco, so it's probably solved in the next upgrade.
Some info about ApplicationStartup event: https://our.umbraco.org/documentation/reference/events/application-startup
Have a great day!!
no worries Dennis, its not critical.
Umbraco top tem are on the case to fix for v8.
http://issues.umbraco.org/issue/U4-8424
That sounds great Dibs!!! :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.