1

I want To Provide The Link "Add Reviews" For Content Type Example "Doctor". Then How I can Use the Comment Functionality For That. So that When the user Click on the Add reviews Link A modal Form Appears Having Text Field with "Rating Star". so that user can submit Reviews For that Content Type.

1 Answer 1

1

You can use Colorbox Node.

So you should have this link in your node.tpl.php:

print l(t('Review'), 'comment/reply/' . $nid . '?width=600&height=600', array(
          'attributes' => array(
            'class' => array('colorbox-node')
                )));
1
  • I want to use APIs of Ctools and Modal Form Module for Same Functionality. Commented Oct 22, 2012 at 7:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.