Voting starts in March for the Drupal Association Board election.
I downloaded and installed modal_forms for my site. When I read the documentation. It wrote:
- Comment (modal_forms/%ctools_js/comment/reply/%node)
- Comment (modal_forms/nojs/modal_forms/nojs/comment/reply/[nid])
I tried both of them but I can't run comment in a modal form. It returned an AJAX HTTP. After study, I change code like that:
print $links = ctools_modal_text_button(t('Comment'), '/comment/reply/'.$node->nid, t('Login via modal'), 'ctools-modal-modal-popup-medium');
It run correctly :)