Copied to clipboard

Flag this post as spam?

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


  • Jules 276 posts 587 karma points
    Jul 06, 2015 @ 11:45
    Jules
    0

    Pickers and Multilingual sites - Dynamically set start node of picker

    Hi all

    Using Umbraco 7.2.5

    Creating a multilingual site with this structure

    global en-gb Page 1 etc... de-de Page 1 etc...

    Currently working on the first language which will be used as a master for the others and will be copied in order to create all language instances.

    We are making use of the Multinode Treepicker to pick out images and content for our pages.

    Is there any way to dyanamically set the start node (Content or Media) of the Umbraco U7 MNTP. Ideally what I want it to do is to find the nearest ancestor of a specific doc type so that whenever we copy a new site for a new language, the start node is always set to the current site root node.

    Any ideas?

    Jules

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Jul 06, 2015 @ 14:16
    Ismail Mayat
    0

    Jules,

    You used to be able to in the settings of mntp you can set startnode with xpath and then give it a selector. We have v6 site where we are doing this for multilingual site. Look like its not thee in v7 mntp.

    Another way to set the start node is to try the method found in https://our.umbraco.org/projects/developer-tools/hybrid-framework-for-umbraco-v7/ there is webapi interceptor and you can try that.

    We did it on a site for media pickers where we have model nodes and corresponding media folder for the model and we wanted the model nodes media picker to default to corresponding media folder in media section.

    regards

    Ismail

Please Sign in or register to post replies

Write your reply to:

Draft