More in this section

Forums / Developing with Sitefinity / How to access Command Panel for Admin News Module

How to access Command Panel for Admin News Module

2 posts, 0 answered
  1. Bryan
    Bryan avatar
    14 posts
    20 Aug 2008
    28 Jul 2010
    Link to this post
    I was working on setting up comments for news articles by following the instructions posted here:

    I was able to get the public side to work, but I am unable to get the admin comments to work. I cannot find a way to have my SF installation read the ~/Sitefinity/Admin/ControlTemplates/News/CommandPanel.ascx file. My application seems to be reading some default template. I searched through the Telerik.Sitefinity.Configuration.ControlsConfig.xml file and see no reference to a News CommandPanel, I do see a  Telerik.Libraries.WebControls.Admin.LibrariesCommandPanel, Telerik.Cms.Web.UI.Backend.CommandPanel and Telerik.Polls.WebControls.Admin.PollsCommandPanel but nothing for News.

    How do I have SF read the CommandPanel.ascx file for the admin News module?

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    29 Jul 2010
    Link to this post
    Hello Bryan,

    You do not have to work with these templates. you only have to change

    1. In web.config ,find News provider declaration inside cmsEngine node. There set allowComments to True. If you want to moderate the comments before they go live - set commentsModeration to True.

    <add name="News" commentsModeration="true" allowComments="true" allowWorkflow="true" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Title" securityProviderName="" allowVersioning="True" applicationName="/News" versioningProviderName=""  .......

    2. Drop NewsView control on your page. Open the control in edit mode and navigate to Comments property section. There set the above mentioned properties to True.

    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered