@inherits Umbraco.Web.Mvc.UmbracoTemplatePage @{ var startNode = Umbraco.Content(1105); try { foreach (var page in startNode.Children.Where("Visible")) { <li><a href="#">@page.Name</a></li> } } catch{} }
Mark Downie - Umbraco 7 and Umbraco 8 (and umbraco 4) Developer - Code Snippets - Glasgow - Scotland
I am Mark Downie a web developer who uses the Umbraco CMS. You can see examples of my Umbraco web sites at: http://www.markdevelopment.co.uk If you have any questions, please contact me. Thanks