Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Simon Dingley 1474 posts 3431 karma points c-trib
    Apr 15, 2011 @ 15:52
    Simon Dingley
    3

    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

  • Sasa Popovic 77 posts 367 karma points
    Apr 15, 2011 @ 16:37
    Sasa Popovic
    6

    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

  • Zakhar 171 posts 397 karma points
    Jun 20, 2012 @ 15:15
    Zakhar
    1

    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.

  • Chris Parkinson 39 posts 73 karma points
    Oct 09, 2012 @ 16:28
    Chris Parkinson
    3

    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...

     

Please Sign in or register to post replies

Write your reply to:

Draft