I want to show the contact form in popup. How should I actually do it? I tried to create a module and call the function in it. But I am confused on how to implement *hook_block_view()*
Is there any other way to this?
This is my first drupal project. And later do I realize that I am not having template.php in my theme folder.
This is what I have done.
1. I had made a block in my page, named 'popup_this'.
2. I made a module named 'popup' and made to display in this block.
3. I had activate the module named 'contact' in the site. It is called in the link '?q=contact'.
4. I am trying to call this form in my custom module.
I don't know how to implement the function popup_block_view().
Thanking you in advance