Hi,
I've just installed your module, in admin/settings/contact_form_on_node checked:
System-wide contact form
Add a form to contact the author in full view?
+ one content type.
Result: contact form is displayed everywhere, in full body and teaser fo every content type. Please, fix immediatelly and in the future test properly before you release. Thanks.
Comments
Comment #1
petiar commentedEven when I unclick all content types, the form is still being displayed everywhere. Oh, common...
Comment #2
hovel commentedI have the same problem!
Comment #3
Vc Developer commentedSame problem! I would like to have control of selecting what node to have the contact form on during creation. Also the ability to send the reader back to the node after sending the message. Thanks!
Comment #4
vitch commentedHello,
Just ran into that issue of contact form on node showing on all node types and figured out what was wrong.
I apologize for not issuing a patch as I have no idea what tools are being used to do that.
in the file
contact_form_on_node_module
in the function
function contact_form_on_node_nodeapi(&$node, $op, $teaser, $page)
at line 112
move the lines
// we get the enabled types
$enabledTypes = variable_get('contact_form_on_node_types', array());
to line 108 outside the the switch case.
Comment #5
Vc Developer commentedKewl! Can you also add this feature? Send the reader back to the node after sending the message....
Comment #6
Vc Developer commentedHow is it going?
Comment #7
ErwinS commentedthx Vitch,
You saved my day!
Comment #8
danny_joris commented#4 is the solution
Thanks Vitch!