Active
Project:
Author Contact
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2010 at 02:58 UTC
Updated:
5 Oct 2015 at 21:09 UTC
Jump to comment: Most recent
Hi,
I have the following code in my dev site, which produces a author contact form;
$block = module_invoke('authorcontact', 'block', 'view', '0');
print $block['content'];
However in my live site, nothing is shown.
The 'personal contact form' is enabled
contact module is enabled, so is authorcontact
authenticated users can access site wide contact forms,
and ideas on what I can do to troubleshoot this problem?
Thanks,
T
Comments
Comment #1
tolland76 commentedhmmmm.... it looks like I have to create at least one block in the site and configure it so the 'authorcontact_block_display_types' variable is set in order to use module invoke like that, or set the var explicitly.
Tom
Comment #2
myristo commentedHi;
having same problem
?>
tried many method but not showing up in my custom template tpl.
Any suggestion ?