I am trying to get the MNTP to work with the propertyTypePicker.
I have this code for the rendering of the menu
@using umbraco.MacroEngines
@using umbraco;
@inherits umbraco.MacroEngines.DynamicNodeContext
@{
var propertyAlias = Parameter.chooseMenu;
}
<ul class="list icons list-unstyled">
@{
if (Model.AncestorOrSelf("StoreOption").HasValue(propertyAlias, true))
{
// This is where i cant figure out how to get the value from the probertyAlias, instead of//"footernavigation2" i need to get the value from the macro
var dynamicMultiNodeTreePicker = Model.AncestorOrSelf("StoreOption").footerNavigation2;
@dynamicMultiNodeTreePicker
foreach (var item in dynamicMultiNodeTreePicker)
{
<li>
<i class="icon icon-caret-right"></i>
<a href="@item.Url" title="@item.Name">@item.Name</a>
</li>
}
}
}
</ul>
Ucomponents - Multi node treepicker
Hi
Umbraco 6.1.6 - Ucomponents 6
I am trying to get the MNTP to work with the propertyTypePicker.
I have this code for the rendering of the menu
Here is the voce for the Macro
On the macro i have a propertyTypePicker
I have several MNTP to choose different menues.
I want to be able to choose thes from the propetyTypePicker
When i insert the macro i want to be able to choose witch menu / MNTP to rendere
It is proberly a small issue, but i cant to figuere out how.
Tanks for the great forum
René
HI
I found another solution with the multi url picker
http://our.umbraco.org/projects/backoffice-extensions/ucomponents/questionssuggestions/48854-MULTI-URL-Picker?p=0#comment174841
is working on a reply...