function talk_comment_hijack in Talk 7
Changes the destination to the talk page after posting a comment.
1 string reference to 'talk_comment_hijack'
- talk_form_alter in ./
talk.module - Implements hook_form_alter().
File
- ./
talk.module, line 258 - Comments are displayed in a separate 'talk' tab, for node types you wish
Code
function talk_comment_hijack($form, &$form_state) {
if (is_array($form_state['redirect'])) {
$form_state['redirect'][0] .= '/talk';
}
else {
$form_state['redirect'] .= '/talk';
}
}