How to get length of models if they exist with Archetype
I'm on Umbraco 7.6.3 and using Archetype 1.14.1. I feel im making good strides with getting this package to work. I would like to take things further with my partial views, and get the total number of models that exist and display them. This is what I'm currently using on my partial view template....
How to get length of models if they exist with Archetype
I'm on Umbraco 7.6.3 and using Archetype 1.14.1. I feel im making good strides with getting this package to work. I would like to take things further with my partial views, and get the total number of models that exist and display them. This is what I'm currently using on my partial view template....
How can I get all @RenderFeaturedItem(Model[x], null) items that exist and populate them onto page, rather than hard-coding each one onto page?
Thanks
Hi,
As your template is getting a list of items, You should be able to use a for-each to loop through all the items.
is working on a reply...