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

Forums / General Discussions / Front - end News Module

Front - end News Module

2 posts, 0 answered
  1. Helton Lessa
    Helton Lessa avatar
    1 posts
    Registered:
    20 Sep 2012
    19 Aug 2009
    Link to this post

    I can't change some words that are displayed in front-end News,
    modify the pages and files below to view some content on the front-end and nothing happens.

    Pages:
    ListPageDetails.ascx
    ListPageMaster.ascx

    Files:
    ListPageDetails.ascx.resx
    ListPageMaster.ascx.resx

    Already added the necessary tags to file "Telerik.Sitefinity.Configuration.ControlsConfig.xml"

    <?xml version="1.0" encoding="utf-8"?>
    <controlsConfig>
      <viewMap>
        <viewSettings hostType="Telerik.News.WebControls.NewsView">
          <additionalTemplates>
            <!--Provides user interface for displaying a list of news items in the NewsView control for the News module.-->
            <add key="ItemListTemplatePath" layoutTemplatePath="~/Sitefinity/ControlTemplates/News/ListPageMaster.ascx" />
            <!--Provides user interface for displaying a single news item in the NewsView control of the News module.-->
            <add key="SingleItemTemplatePath" layoutTemplatePath="~/Sitefinity/ControlTemplates/News/ListPageDetails.ascx" />
          </additionalTemplates>
        </viewSettings>
        <!--Gets or sets the path to a custom layout template for the PollBox control.-->
        <viewSettings hostType="Telerik.Polls.WebControls.PollBox" layoutTemplatePath="~/Sitefinity/ControlTemplates/Polls/PollBox.ascx" />
        <!--Gets or sets the path to a custom layout template for the ResultsBox control.-->
        <viewSettings hostType="Telerik.Polls.WebControls.ResultsBox" layoutTemplatePath="~/Sitefinity/ControlTemplates/Polls/ResultsBoxNoLegend.ascx" />
         
        <!--News module.-->
        <viewSettings hostType="Telerik.News.WebControls.Admin.NewsItemEdit" layoutTemplatePath="~/Sitefinity/Admin/ControlTemplates/News/NewsItemEdit.ascx" />
        <!--News module.-->
        <viewSettings hostType="Telerik.News.WebControls.Admin.NewsItemNew" layoutTemplatePath="~/Sitefinity/Admin/ControlTemplates/News/NewsItemNew.ascx" />
       
      </viewMap>
    </controlsConfig>

    What do I need to edit these pages? I need only modify some texts that are internal to page.

    Thanks a lot...

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    19 Aug 2009
    Link to this post
    Hi Helton Lessa,

    Please take a look at the following forum post. You should map the templates through NewsViewControl designer.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
2 posts, 0 answered