AI OnAI Off
Hi Alex,
If you want to change the tab order for particular page then you can use this-
[GroupDefinitions]
public static class TabNames
{
[Display(Order = 100)]
public const string Sidebar = "Sidebar";
[Display(Order = 110)]
public const string Description = "Description";
}
For more information you can refer below article-
https://marisks.net/2016/01/30/episerver-custom-tab-ordering/
Thanks
Ravindra
And for the custom tab ordering per page type you can then use (using the link above to support the new CustomTab attribute)
[ContentType(GUID = "a35c0203-e548-4918-b932-05205cc8c491", Order = 1)]
[CustomTab("Sidebar", 100)]
[CustomTab("Description", 110)]
public class StandardPage : EditorialPageBase
{
[Display(Name = "Text", Order = 10, GroupName = "Description")]
public virtual string Text { get; set; }
[Display(Name = "Sidebar", Order = 10, GroupName = "Sidebar")]
public virtual ContentArea SidebarContentArea { get; set; }
}
Hi,
First of all, i'm very new to EpiServer, so please forgive me for any blatantly incorrect assumptions I might make.
I'm currently reording/restructuring tabs and properties for a particular page type according to a client's specifications and as far as I can tell, tabs are defined globally as are the order values for each tab. Is it possible to change the ordering of tabs for a particular page type without affecting the ordering of others? And if so, how might I go about it?
Thanks for any help you might be able to provide.