{"id":19348838,"url":"https://github.com/adrianbj/processpagefieldselectcreator","last_synced_at":"2025-04-23T06:30:42.535Z","repository":{"id":141234411,"uuid":"12887136","full_name":"adrianbj/ProcessPageFieldSelectCreator","owner":"adrianbj","description":"ProcessWire module to automate creation of Page fields for Select drop downs, along with the templates and page tree for their source.","archived":false,"fork":false,"pushed_at":"2021-08-07T16:47:32.000Z","size":96,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T09:22:12.479Z","etag":null,"topics":["creator","page-field","processwire"],"latest_commit_sha":null,"homepage":"","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/adrianbj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2013-09-17T05:37:07.000Z","updated_at":"2024-06-07T15:16:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"b70662d1-fb9d-4b1b-be0e-2f2573a57dc6","html_url":"https://github.com/adrianbj/ProcessPageFieldSelectCreator","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianbj%2FProcessPageFieldSelectCreator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianbj%2FProcessPageFieldSelectCreator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianbj%2FProcessPageFieldSelectCreator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianbj%2FProcessPageFieldSelectCreator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adrianbj","download_url":"https://codeload.github.com/adrianbj/ProcessPageFieldSelectCreator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250384659,"owners_count":21421768,"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":["creator","page-field","processwire"],"created_at":"2024-11-10T04:23:15.767Z","updated_at":"2025-04-23T06:30:42.501Z","avatar_url":"https://github.com/adrianbj.png","language":"PHP","readme":"# ProcessPageFieldSelectCreator\n\nThis module provides a way to rapidly generate Page fields and the required templates and pages for use as a drop down select (or any other Page field type).\n\nThis module will let you create a full page field setup in literally a few seconds :)\n\nTo use, run Page Field Select Creator from the Setup Menu\n\n1. Enter a Field Title, eg: Room Types\n2. Select Options - These will become the child pages that will populate the page field select options. There are two different options.\n\n    Option 1. TITLE FIELD ONLY - enter one option per line, eg:\n\n    Single\u003cbr /\u003e\n    Double\u003cbr /\u003e\n    Suite\n\n\n    Option 2. MULTIPLE FIELDS - the first line is used for the field names and the first field must be 'Title'. Subsequent lines are the values for the fields, eg:\n\n    Title, Number of Beds, Number of People, Kitchen Facilities\u003cbr /\u003e\n    Single, 1, 1, Fridge Only\u003cbr /\u003e\n    Double, 2, 2, Fridge Only\u003cbr /\u003e\n    Suite, 3, 6, Full Kitchen\n\n3. Choose the parent where the page tree of options will be created, eg a hidden \"Options\" parent page\n4. Select a \"Deference in API as\" option depending on your needs\n5. Choose the input field type\n6. Check whether \"Allow new pages to be created from field?\" should be enabled.\n\nAs an example, if you entered \"Room Types\" as the field title, you would end up with all of the following automatically created:\n\n* a fully configured page field called: room_types\n* MULTIPLE FIELDS OPTION - 3 additional fields - number_of_beds, number_of_people, kitchen_facilities\n* a parent template called: room_types\n* a child template called: room_types_items (with either just a title field, or with the 3 additional fields as well)\n* a parent page called: Room Types\n* a series of child pages named and titled based on the per line entries in the Select Options textarea\n\nThe templates are configured such that the \"room_types_items\" child template can only have the main \"room_types\" template as a parent, and vice versa.\n\nThen all you have to do is add the newly created page field to any template you want and you're ready to go!\n\n\n## How to install\n\nDownload and place the module folder named \"ProcessPageFieldSelectCreator\" in: /site/modules/\n\nIn the admin control panel, go to Modules. At the bottom of the screen, click the \"Check for New Modules\" button.\n\nNow scroll to the ProcessPageFieldSelectCreator module and click \"Install\".\n\nOptional configuration option to set the suffix that you want to add to the end of the template name for the child pages. The default 'Items' will be converted to '_items' for the name.\n\n\n## Usage\n\nGo to the Setup Page \u003e Page Field Select Creator and follow the prompts.\n\n\n## Support\n\nhttp://processwire.com/talk/topic/4523-page-field-select-creator/\n\n\n## License\n\nThis program is free software; you can redistribute it and/or\nmodify it under the terms of the GNU General Public License\nas published by the Free Software Foundation; either version 2\nof the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\n\n(See included LICENSE file for full license text.)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrianbj%2Fprocesspagefieldselectcreator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrianbj%2Fprocesspagefieldselectcreator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrianbj%2Fprocesspagefieldselectcreator/lists"}