After playing a little bit with this module i have finally added some feature.
- block configuration allow to set with checkboxes the content where you want to display the form
- added 6 admin config text field. 3 required. 3 not.
- added 2 checkbox. 1 should be required but does not work.
- All field are not displayed if you set the field label to < none >
- field label are (should be ) translated
don't know if need to be ported to the original project or made it a sub project ?
install authorcontact and replace the original authorcontact.module by the attached one (rename it remove .txt)
attached a picture of the admin (no checkbox)
could see form at http://immo-g-meyer.fr/content/maison-de-demo
i need some help to review the code and correct some feature.
| Comment | File | Size | Author |
|---|---|---|---|
| authorcontact_extra_field.jpg | 69.56 KB | elarifr | |
| authorcontact.module.txt | 17.88 KB | elarifr |
Comments
Comment #1
JmsCrk commentedthanks for your contributions elarifr! I'll have a look at this code as well, no problems.
Comment #2
JmsCrk commentedSome of these have been added from the code in issue #492500: Restrict the contact form only on desired content type, set width and height inside block
I will review the other changes and may include in dev.
I like the idea of optional extra fields, however I don't want this module to get too bloated. I'm not reinventing webform ...
Comment #3
seanenroute commentedI think I speak for many when I say that it would be excellent it you could build it up as much as webform. This is a fantastic module that has a lot of potential use.
Comment #4
Ela commentedsubscribing.. adding more optional fields would be great :)