Needs work
Project:
Anonymous Contact form
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2010 at 09:05 UTC
Updated:
17 Aug 2011 at 05:12 UTC
Hi!
I find the module VERY useful for a website I'm building that allows visitors to contact users for lessons.
The question I have is, is there any way to up the contact form directly into a panel (I'm using Advanced Profile Kit for user profiles)? Any tips on how to do this would be greatly appreciated!
Comments
Comment #1
itserich commentedI think I was able to get an anonymous contact form in a View using the Author Contact module (but not sure if that was it).
I am using this module to get anonymous contact into a View.
Good luck!
Comment #2
dasjoi just followed http://shellmultimedia.com/articles/creating-content-type-ctools-panels-3 and created a custom ctools content type plugin in order to embed anonymous contact forms for users with panels:
MYMODULE_DIR/MYMODULE.module
MYMODULE_DIR/plugins/content_types/anon_contact_pane.inc
works :)
Comment #3
maksimova commentedYou should create in panels new custom content, for example for your profile page (not default):
Contact
full html, check "Use context keywords".
It works great. Thank for modules' author!
Comment #4
maksimova commentedsorry. The content is a href="/contact_form/%user:uid"
Comment #5
vcrkid commentedThe plugin looks really thorough, but I can't even get the module to appear. I'm copy and pasting the content as you've written it and I'm placing the module in the standard module directory. What could I be missing?
Regarding the second option, if I do that, I only get a link to the contact form embedded while I wanted the entire contact form to appear.
Comment #6
vcrkid commented@dasjo - the module you suggested at #2 worked perfectly. This was the first time that I created a module, so after looking at the documentation, I realized I made a noob error of not including a module.info file... whoops!
This code should definitely be added into the main module. This would significantly increase its usability with relatively little work (the code is written... can someone stick it into the module?)
Comment #7
dasjovcrkid, you will have to ask the maintainer if s/he wants to include such "third-party module integration code". i am not sure which would be the best way to do this, maybe we would just want to have a separate module for this purpose