Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anders Schmidt 76 posts 207 karma points
    Nov 15, 2013 @ 13:23
    Anders Schmidt
    0

    Displaying newest items / month issue uBlogsyListPosts

    I im having touble displaying newest posts on frontpage. I have posts from Oktober and November.
    Somehow i only diaplays from Oktober.
    On uBlogsyListPosts:
            // get landing node
            var landing = DataService.Instance.GetLanding(Model.Id);
    
            // only get posts where the path has the landing node's id.
            posts = posts.Where(x => x.Path.Contains(landing.Id + ","));
    
            nodes = posts.Take(count).ToList();
                            if (!string.IsNullOrEmpty(c.Trim()))
                            {
                               // show posts pr. konsol
                               <div class="sliderContainer">
                                   <ul class="bxslider">                       
                                        @foreach (DynamicNode n in nodes)
                                        {
                                            if(@n.GetPropertyValue("gameCategory").ToString() == @c){
                                            <li>
                                                @RenderPage("/macroScripts/uBlogsy/showPostOnFrontpage.cshtml", n.Id)
                                            </li>
                                            }
                                        }
                                   </ul>
                                </div>
                            }
                        }  
    Is there a setting i am missing?
    Thanks
  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Dec 16, 2013 @ 14:00
    Anthony Dang
    100

    Possibly an examine index issue?

    Try republishing?

     

Please Sign in or register to post replies

Write your reply to:

Draft