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.
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.
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.
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
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
is working on a reply...