Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is there a replacement for the uComponents RenderTemplate that works in Umbraco 7?
Hi Lesley,
You could try using the RenderTemplate helper method in UmbracoHelper?
@Umbraco.RenderTemplate(1234)
If you needed to have multiple node IDs, then you can put it in a for-loop?
@foreach (var nodeId in new[] { 1111, 2222, 3333, 4444 }) { @Umbraco.RenderTemplate(nodeId) }
I hope this helps?
Cheers, - Lee
Hi Lee,
The for-loop worked.
Had to make a small adjustment to the templates as we had been passing in a custom property, but it was an easy fix.
Thanks
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
uComponents.Controls.RenderTemplate in Umbraco 7
Is there a replacement for the uComponents RenderTemplate that works in Umbraco 7?
Hi Lesley,
You could try using the RenderTemplate helper method in UmbracoHelper?
If you needed to have multiple node IDs, then you can put it in a for-loop?
I hope this helps?
Cheers,
- Lee
Hi Lee,
The for-loop worked.
Had to make a small adjustment to the templates as we had been passing in a custom property, but it was an easy fix.
Thanks
is working on a reply...