Vulnerability in EPiServer.Forms
Hi guys, I've hidden tabs before in Episerver but can't seem to find a way to move system tabs? We need to move the preview tab to be the last in the last so it is not the first loaded tab and edit is instead. We have a performance problem that will be fixed but it's slowing down a content team that is having to wait for the preview to load everytime a node is clicked. Is there any way, I thought if not maybe taking control of the loading ourselves but wondered?
Thanks for any help
Not sure how to edit the tab index for system tabs but perhaps you could make use of Johans sticky tabs example and hook into the editpanel.load event to make the edit tab the the "default" one?
What about setting uiDefaultPanelTab in episerver.config?
Johans suggestion should work. If you wan't to manipulate the tabs in some other way check out the following blog posts.
Check out this blog post from Allan Thraen: http://labs.episerver.com/en/Blogs/Allan/Dates/2009/1/Neat-Trick-Modifying-Edit-Mode-Tabs/
Or this: http://labs.episerver.com/en/Blogs/Anders-Hattestad/Dates/2009/5/Hiding-tabs-based-on-roles/
Or this: http://marasm.pl/resources/resource.php?EditModeTabsAdapter.zip
Thanks for the info guys, this was going to be a work around while we worked out what was killing the CMS performance and fixed it but we have done that now but I'll keep that in mind. Sounds like uiDefaultPanelTab is the best solution so I'll mark that