More in this section
Forums / General Discussions / Front - end News Module

Front - end News Module

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
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:
    12 Sep 2017
    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