Hi,
Comments can be added by default to inbuilt MonoX functionality as well as custom functionality (please note that some extra code is required for this). Basically what is required is to add the comments.ascx control to your custom page then set the ParentEntityId and the ParentEntityType properties.
ParentEntityId is the Id of the entity to which comments are "tied" to and the ParentEntityType is the type of the entity.
Inbuilt supported ParentEntityType types are:
/// <summary>
/// Entity type used in social networking modules that can be interfaced to multiple entities, like comments or files.
/// </summary>
public
enum
SnEntityType
{
/// <summary>
/// Indicates empty entity type.
/// </summary>
None = 0,
/// <summary>
/// Album entity type.
/// </summary>
Album = 1,
/// <summary>
/// Message entity type.
/// </summary>
Message = 2,
/// <summary>
/// Note entity type.
/// </summary>
Note = 3,
/// <summary>
/// Blog post entity type.
/// </summary>
BlogPost = 4,
/// <summary>
/// Custom entity type 1.
/// </summary>
Custom1 = 5,
/// <summary>
/// Custom entity type 2.
/// </summary>
Custom2 = 6,
/// <summary>
/// Custom entity type 3.
/// </summary>
Custom3 = 7,
/// <summary>
/// File entity type.
/// </summary>
File = 8,
/// <summary>
/// Discussion message entity type.
/// </summary>
DiscussionMessage = 9,
/// <summary>
/// Comment entity type.
/// </summary>
Comment = 10,
/// <summary>
/// Tag entity type.
/// </summary>
Tag = 11,
/// <summary>
/// Rating entity type.
/// </summary>
Rating = 12,
/// <summary>
/// Discussion board entity type.
/// </summary>
DiscussionBoard= 13,
/// <summary>
/// Discussion topic entity type.
/// </summary>
DiscussionTopic = 14,
/// <summary>
/// Document entity type.
/// </summary>
Document = 15,
/// <summary>
/// News item entity type.
/// </summary>
NewsItem = 16,
/// <summary>
/// List item entitytype.
/// </summary>
ListItem = 17,
/// <summary>
/// Blog entity type.
/// </summary>
Blog = 18,
/// <summary>
/// Portal subscriber entity type.
/// </summary>
Subscriber = 19,
/// <summary>
/// Application entity type.
/// </summary>
Application = 20,
/// <summary>
/// Calendar event entity type.
/// </summary>
CalendarEvent = 21,
/// <summary>
/// Group event entity type.
/// </summary>
Group = 22,
/// <summary>
/// User event entity type.
/// </summary>
User = 23,
/// <summary>
/// Campaign event entity type.
/// </summary>
Campaign = 24,
/// <summary>
/// News category event entity type.
/// </summary>
NewsCategory = 25,
/// <summary>
/// Newsletter event entity type.
/// </summary>
Newsletter = 26,
/// <summary>
/// Page event entity type.
/// </summary>
Page = 27,
/// <summary>
/// Poll event entity type.
/// </summary>
Poll = 28
}
Regards