If the "Form always expanded" option is checked, click "post new comment" will hide the comment form. This is confusing to users. I suggest either of the following two solutions:

1, If the "Form always expanded" option is checked, do not make "post new comment" a clickable link at all. Since the "Form always expanded" option is checked, it is very unlikely that anyone would want to hide the comment form. I personally don't want the hide-comment-form feature, so I prefer this way.

2, Change "post new comment" to "hide comment form" when the form is present. Change it back to "post new comment" when the form is hidden. Thus, the situation is clearer and more predictable to the users.

I think this is a great module on the whole. If this aspect can be approved, it will be even greater! Thank you very much!

CommentFileSizeAuthor
#29 alwaysExpandMainForm.patch879 bytesAnonymous (not verified)

Comments

betoaveiga’s picture

I agree with you :) Nice module & good suggestion.

cerup’s picture

I prefer option 1. I do not want the bottom comment box to go away and it should remain expanded at all times.

ManyNancy’s picture

Yes #1 please.

sadist’s picture

agreed. infact, i believes whoever don't want it to be hidden, don't need the clickable link at all. just remove the text/link.

gothica’s picture

+1

cluke009’s picture

I found a simple hack to keep the form expanded.

The function at line 294 of ajax_comments.js needs to be modified from this

/**
 * Hide comment form, reload if needed.
 */
function ajax_comments_close_form(reload) {
  pid = $('#comment-form-content').attr('cid');
  $('#comment-form-content').animate({height:'hide'}, speed, function(){
    if (reload) {
      ajax_comments_reload_form(pid);
    }
  });
  $('.pressed').removeClass('pressed');
  $('#comment-form-content').attr('cid', -1);
  ajax_comments_hide_progress();
}

To this

/**
 * Hide comment form, reload if needed.
 */
function ajax_comments_close_form(reload) {
  pid = $('#comment-form-content').attr('cid');
  if (reload) {
    ajax_comments_reload_form(pid);
    $('#comment-form-title', context).addClass('pressed');
  }
  $('.pressed').removeClass('pressed');
  $('#comment-form-content').attr('cid', -1);
  ajax_comments_hide_progress();
}
walker2238’s picture

+1 I really don't like how a user clicks the reply link and the main comment from is user for that. Hopefully there would be a way to use two comments forms many? One for replies and one for normal comments.

walker2238’s picture

Any update on this? Seems like the issue kind of died off.

Anonymous’s picture

StatusFileSize
new879 bytes

This is my solution for the problem
The "post new comment" link don't hide the main form and after a reply the main form appears again

qzmenko’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Issue is closed because 6.x version is unsupported. Feel free to open new issue for 7.x or 8.x versions of module.