Hi.
I've been referred here by Telligent Support - I hope I'm not asking a question that has been asked a million times before (a search didn't seem to turn up anything).
My question is - can anyone here either tell me, or point me in the direction of something that will, what best practice is for adding entirely new forms (in their own tab/area) to the Control Panel.
I have worked out by trial-and-error how to add a tab and point it at a page, but as far as going about extending the base form handling object etc. I am flying blind and would like a bit of a steer on the accepted best practice so as to have the best chance of doing it right...
Many thanks.
Ok, this is what I've done with CSLive:
Create a siteurls_override.config file and add:
<Overrides> <Override xpath="/SiteUrls/locations/location[@name='controlpanel']" mode="add"> <url name="settings_ControlPanel_CSLive" path="Settings/CSLive.aspx" /> </Override></Overrides>
Changing CSLive to what ever you want.
Setting the path to what ever you want inside the control panel folder.
Then in Which ever folder you want it in, say settings, you open up the NavBar.config file located inthat folder, in there you can add your own tabs.
eg
<Tab text="Site Configuration" name="ContentSecurity"> <SubTabs> <Tab resourcename="CP_Settings_Setup" urlname="settings_ControlPanel_Setup" name="SettingsSetup" /> <Tab resourcename="CP_Tools_NavBar_ManageLicenses" urlname="tools_ControlPanel_Licenses" name="ToolsLicenses" /> <Tab resourcename="CP_Tools_NavBar_ManagePoints" urlname="tools_ControlPanel_PointSystem" name="ToolsPoints" /> <Tab resourcename="CP_Tools_NavBar_ManageRest" urlname="tools_ControlPanel_ManageRest" name="ManageRest" /> <Tab resourcename="CP_Settings_ManageRanks" urlname="settings_ControlPanel_ManageRanks" name="ManageRanks" /> <Tab resourcename="CP_Settings_AdvancedConfiguration" urlname="settings_ControlPanel_AdvancedConfiguration" name="AdvancedConfiguration" /> <Tab text="CSLive Configuration" urlname="settings_ControlPanel_CSLive" name="CSLive" /> <!--New--> </SubTabs> </Tab>
The rest is basically a copy, paste and clean up job with one of the other pages in the folder.
Nick - nb development
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com