Hi i need some help with umbraco to define dynamic block template. I've the structure described in the image below
i want to create a dinamic structure for the investor area like in the next screenshot
i try to create benefit template as child of investor template and investor template child of Investors template. In that way my customer can dinamically add or remove benefit from investor and investor from Investors. I watched all umbraco tv videos but i don't know how to solve this problem! I'm searching in something similar to:
@foreach(var page in CurrentPage.Children){
<li>!!!@RenderChildTemplate(page)!!!</li>
}
Ok i found a way to accomplish that! I deleted al block template and converted it to partial view! than i render them using Html.Partial ! it's working but i'm not sure that it is the correct way to do
Dynamic templating
Hi i need some help with umbraco to define dynamic block template. I've the structure described in the image below
i want to create a dinamic structure for the investor area like in the next screenshot
i try to create benefit template as child of investor template and investor template child of Investors template. In that way my customer can dinamically add or remove benefit from investor and investor from Investors. I watched all umbraco tv videos but i don't know how to solve this problem! I'm searching in something similar to:
Ok i found a way to accomplish that! I deleted al block template and converted it to partial view! than i render them using Html.Partial ! it's working but i'm not sure that it is the correct way to do
Hi Simone,
Another option is to keep the templates and use the Umbraco.RenderTemplate() helper.
is working on a reply...