{"id":21277996,"url":"https://github.com/b13/form-custom-templates","last_synced_at":"2026-04-02T13:26:23.662Z","repository":{"id":39638440,"uuid":"460071573","full_name":"b13/form-custom-templates","owner":"b13","description":"Extend email finishers in EXT:form with a selectable template to let the editor choose which email template to use.","archived":false,"fork":false,"pushed_at":"2024-03-14T08:43:26.000Z","size":96,"stargazers_count":3,"open_issues_count":3,"forks_count":1,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-04-14T07:42:14.902Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/b13.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-02-16T15:51:03.000Z","updated_at":"2024-05-15T22:26:02.062Z","dependencies_parsed_at":"2023-11-15T13:30:11.124Z","dependency_job_id":"20a93bb5-308b-4bc5-a8e1-a9b335ebd3a7","html_url":"https://github.com/b13/form-custom-templates","commit_stats":{"total_commits":41,"total_committers":4,"mean_commits":10.25,"dds":"0.36585365853658536","last_synced_commit":"cd29ac782c15095ee478f70674aabd1790299ced"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b13%2Fform-custom-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b13%2Fform-custom-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b13%2Fform-custom-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b13%2Fform-custom-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b13","download_url":"https://codeload.github.com/b13/form-custom-templates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225708281,"owners_count":17511635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-21T10:08:42.841Z","updated_at":"2026-04-02T13:26:23.625Z","avatar_url":"https://github.com/b13.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# B13 - Form Custom templates\n\nAllows a user to define the email template\nfor each email finisher and override it in the\nplugin settings.\n\nThe global defined template is used by default.\nAdditional templates need to be configured!\n\n## Install\n\n```\ncomposer req b13/form-custom-templates\n```\n\n## Configuration\n\n### Doktype and typeNum\n\nIn case the `doktype` (default: 125) or `typeNum` (default: 101) are already used in the \ncurrent TYPO3 instance both values can be changed in Settings -\u003e Extension Configuration.\nThe constants `plugin.tx_form_custom_templates.doktype` and `plugin.tx_form_custom_templates.typeNum`\nare set automatically depending on the set values in the Extension Configuration.\n\n### Add TypoScript configuration\n\nUse `@import` or  `include_static_file` to add the basic\nconfiguration.\n\n```\n@import 'EXT:form_custom_templates/Configuration/TypoScript/setup.typoscript'\n```\n\nThis will extend the `EmailToSender` and `EmailToReceiver` finisher with a template selector.\nThe template selector will list all pages of doktype Email (plugin.tx_form_custom_templates.doktype default: 125).\nBy default, the page doktype Email uses a template based on `SystemEmail.html`\n\n### Custom html templates:\n\n```\n[page[\"doktype\"] == {$plugin.tx_form_custom_templates.doktype}]\n    # Set the template\n    page.10.templateName = SystemEmailTemplate\n\n    # Use custom template paths\n    page.10.templateRootPaths.20 = EXT:SITE_PACKAGE/Resources/Private/Frontend/Templates/\n    page.10.partialRootPaths.20 = EXT:SITE_PACKAGE/Resources/Private/Frontend/Partials/\n    page.10.layoutRootPaths.20 = EXT:SITE_PACKAGE/Resources/Private/Frontend/Layouts/\n[END]\n```\n\n### Custom result list template:\n\nDefine file path (omit suffix). A Template in html and txt format is required.\n\n```\nplugin.tx_form_custom_templates.resultList.templatePath = EXT:form_custom_templates/Resources/Private/Frontend/Partials/ResultTable\n```\n\n### Define default template\n\n```\nmodule.tx_form.settings.yamlConfigurations.555 = EXT:YOUR_SITE_PACKAGE/Configuration/Yaml/CustomTemplate.yaml\nplugin.tx_form.settings.yamlConfigurations.555 = EXT:YOUR_SITE_PACKAGE/Configuration/Yaml/CustomTemplate.yaml\n```\n\n```yaml\nTYPO3:\n  CMS:\n    Form:\n      prototypes:\n        standard:\n          finishersDefinition:\n            EmailToSender:\n              formEditor:\n                predefinedDefaults:\n                  options:\n                    emailTemplateUid: '221'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb13%2Fform-custom-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb13%2Fform-custom-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb13%2Fform-custom-templates/lists"}