Try Now
More in this section

Forums / General Discussions / General Content Comments

General Content Comments

3 posts, 0 answered
  1. lzabik
    lzabik avatar
    4 posts
    21 Aug 2009
    14 Mar 2010
    Link to this post
    Is is possible to modify generacontent control so that it allow comments. I mean the functionality like news controls supplies in desing mode there is section comments->allowmoderation and ->allowcomments.

    In general content external template (ContentViewSingleItem.ascx if it is appropriate template) I found comments list but how to use it and control from designer ?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    14 Mar 2010
    Link to this post
    Hello lzabik,

    There is not "generalcontent" control. The built-in controls that are related to GenericContent are - ContentView and GenericContent.So. So, I suppose that you are talking about ContentView, because this control has template called ContentViewSingleItem.ascx. You should enable the comments from the provider - Generic_Content from its web.config declaration as shown below

    <cmsEngine defaultProvider="Generic_Content"
                <clear />
                <add name="Generic_Content" urlRewriteFormat="[Publication_Date]/[Name].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="True" defaultMetaField="Name" securityProviderName="" allowLocalization="True" allowVersioning="True" allowWorkflow="false" allowComments="true" commentsModeration="true" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Cms.Engine.Data.Providers.DefaultProvider, Telerik.Cms.Engine.Data" />

    Then, you can set the same properties from the ContentView's Properties tab.

    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.
  3. Zura Chikhladze
    Zura Chikhladze avatar
    4 posts
    15 Jul 2009
    19 Dec 2011
    Link to this post
    Great! thanx.
Register for webinar
3 posts, 0 answered