Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension fields on comments #2

Open
manekinekko opened this issue Jan 25, 2016 · 0 comments
Open

Extension fields on comments #2

manekinekko opened this issue Jan 25, 2016 · 0 comments
Assignees

Comments

@manekinekko
Copy link
Owner

A major feature of Drupal as a CMS is the ability to extend all content entities, including comments, with fields that can collect and persist data with the entity. For example, a site builder can add a "rating" field to comments, which would then allow users to add a 1-5 star rating about the thing they are commenting on (as on amazon.com reviews). Or, a site builder can add a "flag" field to comments, which would provide no UI when initially adding a comment, but after the comment is saved, all users, including the original comment author, could toggle this flag, and see the total number of users who did so (as with Facebook's Like/Unlike or Amazon's Helpful/Unhelpful). The UI for these fields are currently all implemented in PHP code. So, what changes would be required of these fields to integrate with the JS-framework-driven UI? Until they make those changes, can they still function (even if suboptimally) within this new UI?

Dedicated Drupal thread https://github.com/acquia/js-exploration/issues/4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants