Closed (duplicate)
Project:
Contact Form On Node
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2012 at 14:14 UTC
Updated:
17 Jul 2012 at 14:50 UTC
Add a link to contact the author in full view? - When checked no link is added.
Add a form to contact the author in full view?- When checked changes the title of the node to Contact . No form is added.
Add a link to contact the author in teaser view?- When checked no link is added.
Add a form to contact the author in teaser view?- When checked changes the title of the node to Contact . No form is added.
I need to add the users personal contact form to the node, with nothing added to the teasers. Not really sure what's happening to cause this. Please let me know if you need any more information.
Comments
Comment #1
tahiticlic commentedTo show the form, add this to your template :
print drupal_render($content['contact_form']["#value"])For the correct title, on the last line of contact_form_on_node.module, change "page" to "full" like :
if ($view_mode=="full") drupal_set_title($node->title);Comment #2
oadaeh commentedI believe this is a duplicate of #1140114: Make module work with Drapul 7.
Comment #3
mailfox commented#1 this good