You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The comment creation process currently traverses the content tree lookig for the post item by template. A better way to do this would be to look for the first non-comment and non-folder item in the ancestors. Makes this piece of code more flexible.
The text was updated successfully, but these errors were encountered:
It looks like the only reason the current code looks for the blog item during comment creation is to read settings and determine the appropriate template to use for the comment item. We should extract the settings to a provider model where settings can be read from configuration or a blog item. That would allow creating comments on non-blog items.
The comment creation process currently traverses the content tree lookig for the post item by template. A better way to do this would be to look for the first non-comment and non-folder item in the ancestors. Makes this piece of code more flexible.
The text was updated successfully, but these errors were encountered: