{"id":20961767,"url":"https://github.com/heimrichhannot/contao-submissions","last_synced_at":"2026-01-27T10:13:50.819Z","repository":{"id":44633677,"uuid":"59733570","full_name":"heimrichhannot/contao-submissions","owner":"heimrichhannot","description":"A generic module to store and handle submissions in Contao.","archived":false,"fork":false,"pushed_at":"2025-11-03T14:59:27.000Z","size":610,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"v2","last_synced_at":"2025-11-03T16:12:51.775Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heimrichhannot.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-05-26T08:30:13.000Z","updated_at":"2025-11-03T14:59:08.000Z","dependencies_parsed_at":"2025-10-20T16:24:36.068Z","dependency_job_id":"a201e0ae-4868-4a99-9668-e1bf83d41808","html_url":"https://github.com/heimrichhannot/contao-submissions","commit_stats":{"total_commits":129,"total_committers":11,"mean_commits":"11.727272727272727","dds":0.5348837209302326,"last_synced_commit":"daa7f191143ebd94edb1b0345bd614a7da5c9700"},"previous_names":[],"tags_count":128,"template":false,"template_full_name":null,"purl":"pkg:github/heimrichhannot/contao-submissions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-submissions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-submissions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-submissions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-submissions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heimrichhannot","download_url":"https://codeload.github.com/heimrichhannot/contao-submissions/tar.gz/refs/heads/v2","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-submissions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28811553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:41:26.337Z","status":"ssl_error","status_checked_at":"2026-01-27T07:41:08.776Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T02:16:46.865Z","updated_at":"2026-01-27T10:13:50.814Z","avatar_url":"https://github.com/heimrichhannot.png","language":"PHP","readme":"# Submissions\nA generic module to store form submissions in Contao. In contract to Leads the storage is dca based.\n\n## Features\n\n- Directly store form generator submissions (with included form type)\n- Submissions organized in archives using a dedicated DCA including permissions handling\n- Highly customizable: define new fields on the data container.\n- Auto-creates palettes for your fields.\n- Bundles double opt-in process.\n- Export your submissions as (excel compatible) CSV\n- Notification Center 2.0 support ([terminal42/contao-notification_center](https://github.com/terminal42/contao-notification_center))\n- Integrated support for following extensions:\n  - [Contao Fieldset Duplication](https://packagist.org/packages/inspiredminds/contao-fieldset-duplication) - store data as blob for group widget, multi column editor or multi column wizard fields.\n\n## Install\n\n1. Install with composer or contao manager\n\n```bash\ncomposer require heimrichhannot/contao-submissions\n```\n\n2. Update database\n\n## Usage\n\nIn the backend, you will find a new menu item called “Submissions”. Create a new archive with a title and select the\nfields that should be contained in your submissions.\n\n### Form generator\nYou can save your form generator submissions directly as a submission. Simply activate \"Save as submission\" and select\nthe submission archive. The names of the form fields must be the same as the field names of the saved entity.\n\nUse `##form_attachment_*##` tokens in your notification center notifications to include attachments in your emails.\n\n### Opt in process\n\nUse the built-in double opt-in process to verify submissions.\nCreate an opt-in challenge notification in notification center and select it on your form in the form generator.\nYou can also define a jump to page to which the user is redirected when the opt-in is successful.\nIf you want to bump a property at successful opt-in, set a boolean confirmation field (i.e. to set the field `publish` to true).\n\nUse the following notification tokens in the opt-in notification:\n\n| Token             | Description                                                                                                              |\n|-------------------|--------------------------------------------------------------------------------------------------------------------------|\n| `##optin_token##` | To be replaced with the opt-in token                                                                                     |\n| `##optin_url##`   | To be replaced with the absolute opt-in url                                                                              |\n| `##email##`       | Same as `##form_email##`, but guaranteed to be in a valid email address format. Intended use as recipient email address. |\n\n\n### Export\n\nActive \"Allow export\" in the submission archive settings to enable CSV export of submissions.\nAfterwards you will find an \"Export\" button in the submission list view.\n\n![export_operation.png](docs/img/export_operation.png)\n\n## Development\n\n### Fields on tl_submission\n\nTake a look at [`dca/tl_submission.php`](https://github.com/heimrichhannot/contao-submissions/blob/master/dca/tl_submission.php#L94) for all available fields.\n\nAdjust the dca to your needs.\n\nMark fields as `noSubmissionField` to make them unavailable for use as submission fields.\n\n```php\n$dca = \u0026$GLOBALS['TL_DCA']['tl_submission'];\n\n$dca['fields']['my_field']['eval']['noSubmissionField'] = true;\n```\n\n### Events\n\n| Event                                              | Description                                                                     |\n|----------------------------------------------------|---------------------------------------------------------------------------------|\n| SubmissionsBeforeSendConfirmationNotificationEvent | Dispatched before success notification is sent. Requires enabled double opt-in. |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheimrichhannot%2Fcontao-submissions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheimrichhannot%2Fcontao-submissions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheimrichhannot%2Fcontao-submissions/lists"}