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

Forums / Developing with Sitefinity / Master page for news

Master page for news

5 posts, 0 answered
  1. Dalibor
    Dalibor avatar
    2 posts
    Registered:
    14 Dec 2011
    27 Dec 2011
    Link to this post
    Hi,
    I'm testing  sitefinity and I would like to know if I could set master page for news details. If I put news, lets say on Home Page it inherits template from Home Page. Is it possible to create separate master page file and set it for all news.
  2. Tim
    Tim avatar
    258 posts
    Registered:
    22 Jun 2011
    27 Dec 2011
    Link to this post
    Dalibor,

    Absolutely!

    After you've created a template and page from your new master page, simply drag a News widget to a content placeholder you would like the content to display in.

    This documentation will help you configure the news widget. What you're asking about is covered in the "Single Item Settings".

    Let me know if you need any more help :)
  3. Dalibor
    Dalibor avatar
    2 posts
    Registered:
    14 Dec 2011
    27 Dec 2011
    Link to this post
    Hi,

    Thanks, it works now.
    I tried with Selected existing page ...but I was getting error because I didn't know: "In order to display the news, the page you have selected must have the News widget added."  
    Now I can continue with discovering :)

    Thank you.
  4. Richard
    Richard avatar
    103 posts
    Registered:
    04 Apr 2013
    22 Sep 2014
    Link to this post

    How would we do this if we are putting it right in the markup?

    <%@ Register Namespace="Telerik.Sitefinity.Web.UI.PublicControls" Assembly="Telerik.Sitefinity" TagPrefix="sf" %>
    gives me most widgets but not the news. 

  5. Vassil Vassilev
     Vassil Vassilev avatar
    308 posts
    Registered:
    21 Jan 2015
    25 Sep 2014
    Link to this post
    Hello Richard,

    If you ever wonder the what is the CLR Type of some control, please go to Administration >> Settings >> Advanced >> Toolboxes >> Toolboxes >> PageControls >> Sections >> ContentToolboxSection >> Tools >> NewsView and you will see the following:

    AssemblyTelerik.Sitefinity.ContentModules
    NamespaceTelerik.Sitefinity.Modules.News.Web.UI
    ClassNewsView

    Hope this helps.

    Regards,
    Vassil Vassilev
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
5 posts, 0 answered