1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Latest news article

Latest news article

2 posts, 0 answered
  1. eva hermes
    eva hermes avatar
    12 posts
    Registered:
    09 Aug 2009
    16 Jul 2010
    Link to this post
    Hello,
    I'm using Sitefinity 3.7, and I want to use the news control to display a news list on the same page as the full news articles.
    I managed to get nearly the desired functionality. I added two 'News View' controls to the page, one set to 'Details', one set to 'Master'.  Now the 'Master' sits in the right hand column and lists all news articles, and the 'Details' in the left shows the full article.
    Except: When the page initially loads, the left hand 'Details' control doesn't show anything. 
    I need to display the latest article here as a default. I found some posts dealing with similar problems, but for older versions of Sitefinity.  Is there a simple way to achieve this in v. 3.7? I have the feeling I am missing something very basic here.
    Thanks in advance!
    Eva
  2. eva hermes
    eva hermes avatar
    12 posts
    Registered:
    09 Aug 2009
    16 Jul 2010
    Link to this post

    No need for reply, I just figured it out.
    Mapped the control to external template, then added

     

    <

     

     

    asp:Literal ID="Content" runat="server"></asp:Literal>
    to the template and set newsView to show list with only last item.

     

2 posts, 0 answered