Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity 3.x: General Discussions > General Content Comments

General Content Comments

  • lzabik avatar

    Posted on Mar 14, 2010 (permalink)

    Hi,
    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 ?

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Mar 14, 2010 (permalink)

    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"
            <providers>
                <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.

    Greetings,
    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.

    Reply

  • Zura Chikhladze avatar

    Posted on Dec 19, 2011 (permalink)

    Great! thanx.

    Reply

  • Register for webinar
Skip Navigation LinksHome / Developer Network / Forums / Sitefinity 3.x: General Discussions > General Content Comments