... | ... | @@ -4,43 +4,28 @@ |
|
|
* [Webforms conditionnals](webforms_conditionnals)
|
|
|
* **webform_confirm_email** : To fix #24 , in `/sites/all/modules/webform_confirm_email/webform_confirm_email.module`
|
|
|
1. search `webform_confirm_email_mail_alter()`
|
|
|
2. Just before `drupal_write_record('webform_confirm_email_confirmation_emails', $obj);`, insert the following line :
|
|
|
2. Just before `drupal_write_record('webform_confirm_email_confirmation_emails', $obj);`, insert the following line :
|
|
|
```php
|
|
|
unset($obj["email_message"]["params"]["node"]);
|
|
|
```
|
|
|
|
|
|
* **webform**, To fix #29
|
|
|
* **webform**, To fix #29
|
|
|
1. open "/sites/all/modules/webform/includes/webform.report.inc"
|
|
|
2. search and comment `$destination = drupal_get_destination();`
|
|
|
3. add just below this line
|
|
|
```php
|
|
|
3. add just below this line
|
|
|
```php
|
|
|
$destination = array("destination" => drupal_get_path_alias('node/'.$node->nid)."/webform-results");
|
|
|
```
|
|
|
|
|
|
Additionally, to fix https://framagit.org/framasoft/framaforms/-/issues/56, the following line must be added to **sites/all/modules/webform/includes/webform.submissions.inc** as described in [the Drupal issue](https://www.drupal.org/project/webform/issues/3125363) :
|
|
|
Additionally, to fix https://framagit.org/framasoft/framaforms/-/issues/56, the following line must be added to **sites/all/modules/webform/includes/webform.submissions.inc** as described in [the Drupal issue](https://www.drupal.org/project/webform/issues/3125363) :
|
|
|
```php
|
|
|
$pager_query->fields('wsd', array('data'));
|
|
|
```
|
|
|
|
|
|
* **form_builder**, to fix #84.
|
|
|
Patch [proposed upstream](https://www.drupal.org/project/form_builder/issues/3124118).
|
|
|
1. open `sites/all/modules/form_builder/includes/form_builder.admin.inc`.
|
|
|
* **form_builder**, to fix #84.
|
|
|
Patch [proposed upstream](https://www.drupal.org/project/form_builder/issues/3124118) (should be applied to upstream soon).
|
|
|
1. open `sites/all/modules/form_builder/includes/form_builder.admin.inc`.
|
|
|
2. in function `form_builder_field_configure_submit()` add the following line :
|
|
|
```php
|
|
|
$form_state['values']['unique'] = $form_state['values']['extra']['unique'];
|
|
|
```
|
|
|
|
|
|
* **webform_confirm_email** : the table `webform_confirm_email_queued_email`, used from 2.14, caused problem because of its use of the `text` type for storing serialized data. The fix is to replace the `text` type for the `email` column by `blob` in `webform_confirm_email.install`, line 32-33:
|
|
|
```
|
|
|
- 'type' => 'blob',
|
|
|
- 'size' => 'big',
|
|
|
+ 'type' => 'text',
|
|
|
+ 'size' => 'medium',
|
|
|
$form_state['values']['unique'] = $form_state['values']['extra']['unique'];
|
|
|
``` |
|
|
|
|
|
(this patch was proposed directly to the Drupal module : https://www.drupal.org/project/webform_confirm_email/issues/3120576)
|
|
|
|
|
|
## Modules created
|
|
|
* [Module : framaforms](https://framagit.org/framasoft/framaforms/-/wikis/Module-:-framaforms)
|
|
|
* [Module : framaforms_share_results](https://framagit.org/framasoft/framaforms/-/wikis/Module-:-framaforms_share_results)
|
|
|
|