{"id":19388900,"url":"https://github.com/james2doyle/pyro-list-field","last_synced_at":"2025-07-25T17:39:59.863Z","repository":{"id":6934329,"uuid":"8185677","full_name":"james2doyle/pyro-list-field","owner":"james2doyle","description":"A List field type for PyroCMS","archived":false,"fork":false,"pushed_at":"2015-04-28T13:45:29.000Z","size":208,"stargazers_count":5,"open_issues_count":1,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T22:32:31.769Z","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/james2doyle.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}},"created_at":"2013-02-13T19:11:23.000Z","updated_at":"2024-01-17T15:48:52.000Z","dependencies_parsed_at":"2022-09-16T01:02:45.168Z","dependency_job_id":null,"html_url":"https://github.com/james2doyle/pyro-list-field","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2Fpyro-list-field","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2Fpyro-list-field/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2Fpyro-list-field/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2Fpyro-list-field/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/james2doyle","download_url":"https://codeload.github.com/james2doyle/pyro-list-field/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250532142,"owners_count":21446126,"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-10T10:14:00.317Z","updated_at":"2025-04-23T23:31:49.545Z","avatar_url":"https://github.com/james2doyle.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"pyro-list-field\n===============\n\nA List field type for PyroCMS\n\n![Screen Shot 2013-02-13 at 2 28 35 PM](https://f.cloud.github.com/assets/1425304/154199/ad9fa5f4-7613-11e2-8cdc-72507b9b28d1.png)\n\nFeatures\n--------\n\n* Generates an array of items to be pushed into a list of any kind\n* Has enter mapped to the submit item\n* Remove items easily\n\nUsage\n-----\n\nThis plugin stores 2 things, a key(the index of the item) and the value(value of the input).\n\n``` html\n\u003cul\u003e\n{{ my_field_slug }}\n  \u003cli class=\"item{{ key }}\"\u003e{{ value }}\u003c/li\u003e\n{{ /my_field_slug }}\n\u003c/ul\u003e\n```\n\nIf there was 3 items, this would output:\n\n``` html\n\u003cul\u003e\n  \u003cli class=\"item0\"\u003eItem String Value\u003c/li\u003e\n  \u003cli class=\"item1\"\u003eItem String Value\u003c/li\u003e\n  \u003cli class=\"item2\"\u003eItem String Value\u003c/li\u003e\n\u003c/ul\u003e\n```\n\nTo Do\n-----\n\n* Add sorting/ordering\n* Allow child list items\n* List to string instead of just array\n* Allow styling/classes/odd and even\n* Allow links (url, target, title etc.)\n* Allow setting of key (index or string etc.)\n\nLicense\n-------\n\n(The MIT License)\n\nCopyright (c) 2013 James Doyle \u003cjames2doyle@gmail.com\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames2doyle%2Fpyro-list-field","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjames2doyle%2Fpyro-list-field","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames2doyle%2Fpyro-list-field/lists"}