Copied to clipboard

Flag this post as spam?

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


  • Robson Nascimento 10 posts 90 karma points
    May 05, 2016 @ 15:55
    Robson Nascimento
    0

    1-1 multilingual example - uSiteBuilder

    I have one project in umbaco 7.4 and i will do the implementation this example : https://our.umbraco.org/projects/developer-tools/1-1-multilingual-example/

    Now i have some problems because this project has used another moder builder https://www.nuget.org/packages/uSiteBuilder/2.0.1

    This is a probleme:

     [DocumentType]
        public class BasicType : DocumentTypeBase
        {
            [DocumentTypeProperty(UmbracoPropertyType.TrueFalse,Alias = "umbracoNaviHide",Description = "Use this option to hide this node from navigation",Mandatory = false,Tab = Tab.Settings)]
            public bool Hide { get; set; }
    
        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Mandatory = true, Tab = Tab.Content)]
        public string MetaTitle { get; set; }
    
        }
    

    Now I need add the property public Newsdetached News but now with the property of Vorto : textString or another.

    How would i will do this?

  • Alex Skrypnyk 6162 posts 24132 karma points MVP 8x admin c-trib
    May 05, 2016 @ 16:00
    Alex Skrypnyk
    0

    Hi Robson,

    Why did you decide to use uSiteBuilder?

    Cheers

  • Robson Nascimento 10 posts 90 karma points
    May 05, 2016 @ 16:18
    Robson Nascimento
    0

    Hi Alex,

    Because it is very easy and this is a legacy project. He Have a structure test and injection dependency. what do you think about ?

Please Sign in or register to post replies

Write your reply to:

Draft