{"id":25209886,"url":"https://github.com/backdrop-contrib/webform_share","last_synced_at":"2025-10-25T09:31:49.450Z","repository":{"id":135065293,"uuid":"550168791","full_name":"backdrop-contrib/webform_share","owner":"backdrop-contrib","description":"Enables export, import and setting content-type defaults for Webforms in your Backdrop CMS website","archived":false,"fork":false,"pushed_at":"2024-07-27T18:57:16.000Z","size":32,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":10,"default_branch":"1.x-1.x","last_synced_at":"2024-07-30T17:16:23.984Z","etag":null,"topics":["backdrop","backdropcms","cms","json","share","webforms"],"latest_commit_sha":null,"homepage":"https://backdropcms.org/project/webform_share","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/backdrop-contrib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-10-12T10:06:54.000Z","updated_at":"2024-07-27T18:57:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"a4586741-5856-4943-8f95-dee3d624aaa3","html_url":"https://github.com/backdrop-contrib/webform_share","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fwebform_share","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fwebform_share/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fwebform_share/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fwebform_share/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/backdrop-contrib","download_url":"https://codeload.github.com/backdrop-contrib/webform_share/tar.gz/refs/heads/1.x-1.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238117361,"owners_count":19419223,"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":["backdrop","backdropcms","cms","json","share","webforms"],"created_at":"2025-02-10T13:18:49.647Z","updated_at":"2025-10-25T09:31:44.161Z","avatar_url":"https://github.com/backdrop-contrib.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Webform Share\n========\nWebform Share enables you to export the configuration for an existing webform\nand either import into another webform or use it to create default webform\ncomponents for a webform-enabled content type.\n\nThere are three main use cases for this module:\n\n1. To build a webform on a development site and import it into production.\n2. To use a set of components from a form in other forms on your site.\n3. To define and apply a default set of webform components and settings for each\ncontent-type.\n\n### Differences from Drupal 7\n- Exports as JSON array rather than PHP array definiton so no need to use the\n`eval()` function; because of this, there is no upgrade path.\n- Content type defaults moved from publishing options to Webform tab.\n- Content type defaults can be set from a node of the same content type.\n- Configuration moved to Configuration Management.\n- Some re-wording to improve clarity.\n\nRequirements\n------------\nThis module requires that the following modules are also enabled:\n\n- [Webform](https://github.com/backdrop-contrib/webform)\n\nInstallation\n------------\n- Install this module using the official Backdrop CMS instructions at\n  https://docs.backdropcms.org/documentation/extend-with-modules.\n- Ensure the permission \"Configure Webform Share\" is granted to relevant users.\n\nUsage\n-----\n### Export\n1. Navigate to the node and click the \"Webform\" tab.\n2. Click the \"Export\" button.\n\nThe webform configuration will download in a .json file.\n\n### Import\n1. Navigate to an existing or new node of a content type where webforms are\nenabled and click the \"Webform\" tab\n2. Click the \"Import\" button\n3. Paste the contents of the .json file you downloaded into the \"Import code\"\ntext area.\n4. If you want to keep any existing components in your webform then check the\n\"Keep existing components that are not included in the import\" option.\n5. If you want to keep the email and form settings and just override the\ncomponents and conditionals check the \"Update components and conditionals only\"\noption.\n\n### Setting default webform components for content type\n#### From the same site and content type\n1. Navigate to the node and click the \"Webform\" tab.\n2. Click the 'Set default' button.\n3. Confirm\n\n#### From another site, or content type\n1. Export the webform configuration that you want to use as the default.\n2. Navigate to the Configure tab for the content-type you wish to set webform\ndefaults for.\nfor. (i.e. `admin/structure/types/manage/[content_type]/configure`)\n3. Click on the \"Webform\" sub-tab.\n4. Note that if you haven't previously enabled Webforms for this content-type\nthen you will need to enable, \"Save Content Type\" and return to the \"Webform\"\nsub-tab.\n5. Paste the contents of the .json file you downloaded into the \"Webform\ndefault components\" text area and save the content-type.\n6. Create a new node of that content type and the webform will be automatically added.\n\nIssues\n------\nBugs and Feature Requests should be reported in the Issue Queue:\nhttps://github.com/backdrop-contrib/webform_share/issues.\n\nCurrent Maintainers\n-------------------\n- [Martin Price](https://github.com/yorkshire-pudding) - [System Horizons](https://www.systemhorizons.co.uk)\n- Collaboration and co-maintainers welcome!\n\nCredits\n-------\n- Ported to Backdrop CMS by - [Martin Price](https://github.com/yorkshire-pudding) - [System Horizons](https://www.systemhorizons.co.uk).\n- Port sponsored by [System Horizons](https://www.systemhorizons.co.uk).\n- Originally written for Drupal by [Alan D.](https://www.drupal.org/u/alan-d).\n\nLicense\n-------\nThis project is GPL v2 software.\nSee the LICENSE.txt file in this directory for complete text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackdrop-contrib%2Fwebform_share","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbackdrop-contrib%2Fwebform_share","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackdrop-contrib%2Fwebform_share/lists"}