Firstly, thanks for a truly awesome tool! This is a real game changer in my opinion and brings development back to where it should be, in the Visual Studio IDE.
Is it possible to control the display order of tabs at the moment or does that still need to be done through Umbraco?
We also see it as a real game changer and it made us so much more productive since we started to use it in our projects.
At the moment you can't control the order of tabs through uSiteBuilder. You will have to go to Umbraco and do it manually. We got asked about this feature a few times already and we will try to think of a good solution which can be included in one of next releases.
"Tab names can now be sorted by using Enum instead of Tab name. Enum's string value will be used as Tab's name and Enum's value (integer) will be use as Tab's sort value."
Still not really clear how to do it, can anyone show an example please?
Create an Enum containing your tabs, like so.. public enum CmsTabs { Content = 0, Widgets = 10, SEO = 100 }
Then on the document type property just assign the Tab property of the document type to the Enum [DocumentTypeProperty(UmbracoPropertyType.Textstring, Tab = CmsTabs.SEO)]
Control Tab Order
Firstly, thanks for a truly awesome tool! This is a real game changer in my opinion and brings development back to where it should be, in the Visual Studio IDE.
Is it possible to control the display order of tabs at the moment or does that still need to be done through Umbraco?
Thanks, Simon
Thank you Simon!
We also see it as a real game changer and it made us so much more productive since we started to use it in our projects.
At the moment you can't control the order of tabs through uSiteBuilder. You will have to go to Umbraco and do it manually. We got asked about this feature a few times already and we will try to think of a good solution which can be included in one of next releases.
Regards,
Sasa
Ok, I guess It's a very old post so it looks like it was added in v1.2. At least Release Notes here http://usitebuilder.codeplex.com/releases/view/71768 state
"Tab names can now be sorted by using Enum instead of Tab name. Enum's string value will be used as Tab's name and Enum's value (integer) will be use as Tab's sort value."
Still not really clear how to do it, can anyone show an example please?
Thanks.
Create an Enum containing your tabs, like so..
public enum CmsTabs { Content = 0, Widgets = 10, SEO = 100 }
Then on the document type property just assign the Tab property of the document type to the Enum
[DocumentTypeProperty(UmbracoPropertyType.Textstring, Tab = CmsTabs.SEO)]
Works a treat...
is working on a reply...