Copied to clipboard

Flag this post as spam?

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


  • Sander van de Pas 74 posts 147 karma points
    Dec 01, 2015 @ 16:54
    Sander van de Pas
    0

    Vorto - Modelsbuilder - Multi Url picker

    I'm using Vorto in combination with the ModelsBuilder and have a property wich is a multi url picker, but it won't return a list of UrlPickers.

    I've another property for Vorto that uses a single URL Picker and it returns a UrlPicker Model correctly.

    Both items are filled in Umbraco.

    What's the difference between these and how can I fix it?

    Single URL picker code in Partial Class (the override of the default class):

    ///<summary>
        ///Category column 3
        ///</summary>
        [ImplementPropertyType("footerColumn3Category")]
        public UrlPicker.Umbraco.Models.UrlPicker FooterColumn3Category
        {
            get { return this.GetVortoValue<UrlPicker.Umbraco.Models.UrlPicker>("footerColumn3Category", fallbackCultureName: "en-US"); }
        }
    

    Multi URL picker code in Partial Class (the override of the default class):

    ///<summary>
        ///Items column 3
        ///</summary>
        [ImplementPropertyType("footerColumn3Items")]
        public IEnumerable<UrlPicker.Umbraco.Models.UrlPicker> FooterColumn3Items
        {
            get { return this.GetVortoValue<IEnumerable<UrlPicker.Umbraco.Models.UrlPicker>>("footerColumn3Items", fallbackCultureName: "en-US"); }
        }
    
  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Dec 02, 2015 @ 08:09
  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Dec 10, 2015 @ 08:40
    Jeroen Breuer
    0

    Hello,

    I've written a blog where I explain how you can solve this problem: http://24days.in/umbraco/2015/multilingual-vorto-nested-content/

    Jeroen

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies