Submitted by Art Williams on Fri, 03/04/2011 - 9:08am

Sam,

Sure it can be done. You just need to wrap your form code in a conditional statement like this:


if ($node->type = 'product' ) {

[Review form code]

}
else {

[Comment form code]

}

Hope that helps.

The content of this field is kept private and will not be shown publicly.

Plain text

  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.