Posted by michaelsilverman on March 3, 2011 at 4:34pm
Not sure if this is the correct place for this post so if not let me know.
I have started working with D7 and have the need to create a new Entity and a number of sub-types. I want to allow users to post Comments to this Entity but cannot figure out how this can be accomplished. Any help would be welcome.
Comments
By Entity, do you mean content type?
If so, you go to
Home » Administration » Structure » Content types select your "entity" and under comment settings you choose "open", which is actually a default in D7.
You also need to give permission to your users to post comments.
An Entity is not the same as a Content Type
No, as I understand in D7 an Entity is the parent of a node and is not seen as a Content Type and therefore not managed from within Drupal core. I know that I can create an Entity type from a module and then create sub-types and add Fields. What I cannot figure out is if and how I can associate Comments to the Entity Type that I created?
A couple of related
A couple of related links:
Add entity_type column to comment table
Make comment module available for entity not for node
Scott Jackson
Wollongong Australia
Reply
Reply http://drupal.org/project/reply a D7 answer to entity comments.
Great!
Very Good, Thank U rogical