How do I add ContentParts to tabs within the admin editor, for a ContentType, as I can with ContentFields? #15657
-
TL;DR:You can move a field to a tab by adding Also, how do I rename/remove the "Content" tab that gets added when I create a named tab? Background:I'm just starting to learn OrchardCore, as we are migrating an API Docs site over from Umbraco. Within Umbraco, the idea of Admin Tabs for type editors is baked into the design, and I want to replicate the end result. We have some complex types we need to move over. I am only working with the visual editors within the default admin theme. My experience is fully OOB. Using CMS as a CMS is supposed to be used. Scenario:Say I have a ContentType called [
{
"place": "Parts:0#Details;0",
"displayType": null,
"differentiator": "ApiEndpoint-EndpointUrl",
"alternates": null,
"wrappers": null,
"shape": null
}
] However, when I do this, I get two tabs. "Content", and "Details". I only want one tab, "Details". "Content" is empty, and redundant. It shouldn't be there. Now, I add a named If I add the I have a number of parts that I would like to separate correctly into tabs. I'm not sure what I'm missing. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Answer
[
{
"place": "Parts#Parameters",
"displayType": null,
"differentiator": "ApiEndpoint-Parameters",
"alternates": null,
"wrappers": null,
"shape": null
}
] This will move the entire part, including the title and description, into the correct tab. Bonus:Renaming tabs: |
Beta Was this translation helpful? Give feedback.
Answer
ContentPart_Edit
.This will move the entire part, including the title and description, into the correct tab.
Bonus:
Renaming tabs:
#13534