Site structure
Version 7.x > Site structure > Document Type Custom Tab View modes: 
User avatar
Certified Developer 11
Certified Developer 11
dfahy@ecentricarts.com - 3/15/2013 11:18:55 AM
   
Document Type Custom Tab
Hi,

Is there a way to add a new tab to the Document Type Properties page in Site Manager?

Currently there are tabs General, Fields, Form etc. Can I add a custom tab here and add a module into that tab?

User avatar
Kentico Legend
Kentico Legend
Accepted solutionAccepted solution
Brenden Kehren - 3/15/2013 1:27:38 PM
   
RE:Document Type Custom Tab
You can modify the code behind on the page located here: .. \CMSModules\DocumentTypes\Pages\Development\DocumentType_Edit_Header.aspx.cs and add another tab pointing to your module or page:
SetTab(i++, "Test Tab", ResolveUrl("~/CMSModules/Testing/Pages/TestPage.aspx?documenttypeid=" + classObj.ClassID), "SetHelpTopic('helpTopic', 'your_helpdoc');");
Keep in mind this file could be modified by upgrades within Kentico so if you make modifications, document them so you know what to do next time if an upgrade overwrites it.

User avatar
Certified Developer 11
Certified Developer 11
dfahy@ecentricarts.com - 3/15/2013 4:00:43 PM
   
RE:Document Type Custom Tab
Thanks for your reply. I thought that might be it. We have a policy of not changing base Kentico files so I'll have to find another solution to my problem

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 3/18/2013 9:21:34 AM
   
RE:Document Type Custom Tab
Hello,

FroggEye is right, unfortunately and most probably you won't find a solution according to your needs because a whole CMS Site Manager is based on Kentico core files.

Best regards,
Martin Danko