Whenever I add a comment on a node type that does not have a separate Talk page enabled (such as a Forum topic), it redirects me to the /talk page anyway, which results in an Access denied error.
Whenever I add a comment on a node type that does not have a separate Talk page enabled (such as a Forum topic), it redirects me to the /talk page anyway, which results in an Access denied error.
Comments
Comment #1
jarodms commentedverified
Comment #2
jarodms commentedFixed in beta 3.
Comment #3
jarodms commentedThe "add a comment" piece appears to be working.
However, when a user clicks on "1 comment", still getting access denied.
Link generated: "http://sitename/node/2/talk#comments"
Comment #4
aze2010 commentedsubscribing for drupal 6, too (latest release!)
Comment #5
cborromeo commentedI was seeing the same issue. Drupal 7.10 using Talk 7.x-1.0-beta3. I modified the talk_form_alter code and this appears to fix the problem. The code needs to check if the content type has talk enabled before changing the submit button to talk_comment_hijack.
Comment #6
jarodms commentedCould you send me your patch file? this looks like the same code that is in beta3 with the talk_activated placed at the end of the IF instead of the middle.
Thanks!
Comment #7
jarodms commentedComment #11
jarodms commented