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
I'm getting this on my website after installing
http://our.umbraco.org/projects/starter-kits/standard-website-mvc
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage @{ Layout = "SW_Master.cshtml"; }
I was able to resolve this issue by creating pageContent in partial view macros files. But the website is totally empty no menus no text !
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Error after installing
I'm getting this on my website after installing
Standard Website MVC
http://our.umbraco.org/projects/starter-kits/standard-website-mvc
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage @{ Layout = "SW_Master.cshtml"; }
@{ var nodeIds = Model.Content.GetPropertyValue("slideshow").ToString().Split(','); List slides = new List(); foreach (var nodeId in nodeIds) { if (!String.IsNullOrEmpty(nodeId)) { var publishedContent = Umbraco.NiceUrl(Convert.ToInt32(nodeId)); if (!String.IsNullOrEmpty(publishedContent) && publishedContent != "#") { slides.Add(Umbraco.TypedContent(nodeId)); } } } } @foreach (var slide in slides) { if(slide != null) { string styleString = !slide.IsFirst() ? "display:none;" : "";-
@Html.Raw(slide.GetPropertyValue("bodyText"))
} }
@foreach (var slide in slides) { string classString = slide.IsFirst() ? "selected" : "";- @slide.Position()
}
I was able to resolve this issue by creating pageContent in partial view macros files. But the website is totally empty no menus no text !
is working on a reply...