authorcontact with selectable content - form size width - 6 extra field - 2 extra checkbox
| Project: | Author Contact |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | JustJamesAus |
| Status: | needs review |
Jump to:
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.
| Attachment | Size |
|---|---|
| authorcontact.module.txt | 17.88 KB |
| authorcontact_extra_field.jpg | 69.56 KB |

#1
thanks for your contributions elarifr! I'll have a look at this code as well, no problems.
#2
Some 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 ...