{"id":19114870,"url":"https://github.com/namelesscoder/typo3-cms-data-processors","last_synced_at":"2025-04-30T22:51:54.953Z","repository":{"id":57023604,"uuid":"147216771","full_name":"NamelessCoder/typo3-cms-data-processors","owner":"NamelessCoder","description":"Additional TypoScript Data Processors for TYPO3 CMS","archived":false,"fork":false,"pushed_at":"2018-09-03T14:54:59.000Z","size":4,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-30T22:51:50.573Z","etag":null,"topics":["typo3-cms-extension","typo3-extension","typo3-fluid"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NamelessCoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-03T14:33:35.000Z","updated_at":"2019-04-08T05:08:50.000Z","dependencies_parsed_at":"2022-08-23T14:20:56.693Z","dependency_job_id":null,"html_url":"https://github.com/NamelessCoder/typo3-cms-data-processors","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NamelessCoder%2Ftypo3-cms-data-processors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NamelessCoder%2Ftypo3-cms-data-processors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NamelessCoder%2Ftypo3-cms-data-processors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NamelessCoder%2Ftypo3-cms-data-processors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NamelessCoder","download_url":"https://codeload.github.com/NamelessCoder/typo3-cms-data-processors/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251795424,"owners_count":21645020,"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":["typo3-cms-extension","typo3-extension","typo3-fluid"],"created_at":"2024-11-09T04:44:45.602Z","updated_at":"2025-04-30T22:51:54.914Z","avatar_url":"https://github.com/NamelessCoder.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"TYPO3 CMS Data Processors\n=========================\n\nAdditional TypoScript data processors for your TYPO3 installation.\n\nYou already know how to use Composer packages. This one is called `namelesscoder/typo3-cms-data-processors`.\n\n\nStructured Variables Data Processor\n-----------------------------------\n\nIntended to fill the gap between FLUIDTEMPLATE data processors and variables, which allow only a single\nlevel of variables, to facilitate creation and overriding of structured variables.\n\nAllows you to do two important things you normally cannot:\n\n1. Other data processors which support the `as` argument gain support for using dotted paths as\n   target variable name, for example, the menu data processor can put the menu items array into a\n   nested array in Fluid.\n2. TypoScript objects can also be rendered and assigned as template variables using dotted path\n   variable names.\n\nIn addition the data processor allows overwriting variables in already assigned arrays such as the\nsettings array - even overriding model object instance properties is possible if you have previously\nassigned a domain model instance as a template variable.\n\n#### Examples:\n\n```\n# First, a standard data processor - except with a dotted-name variable in \"as\"\npage.10.dataProcessing.150 = TYPO3\\CMS\\Frontend\\DataProcessing\\MenuProcessor\npage.10.dataProcessing.150 {\n     levels = 4\n     as = foo.bar.menu\n     expandAll = 1\n     titleField = nav_title // title\n}\n\n# The StructuredVariablesProcessor must always come last...\npage.10.dataProcessing.5000 = NamelessCoder\\DataProcessors\\StructuredVariablesProcessor\n\n# ...and it can define any number of TS objects as first-level children\npage.10.dataProcessing.5000.searchText = TEXT\npage.10.dataProcessing.5000.searchText.value = Test...\n# ...which now also supports (actually, requires) an \"as\" attribute\npage.10.dataProcessing.5000.searchText.as = foo.bar.text\n# ...that then creates that variable and has it re-mapped by the structured variables processor.\n```\n\nResulting array structure that becomes a Fluid variable:\n\n```php\n[\n     \"foo\" =\u003e [\n             \"bar\" =\u003e [\n                     \"menu\" =\u003e [...array of menu items...],\n                     \"text\" =\u003e \"Test...\"\n             ]\n     ]\n]\n```\n\nWhich means you can reference the two new variables as:\n\n     {foo.bar.menu}\n     {foo.bar.text}\n\n\nCredits\n-------\n\nThis package contains work sponsored by [SYZYGY GmbH](https://www.syzygy.net/global/en). If you work with \nTYPO3 then [SYZYGY may be looking for someone just like you!](https://www.syzygy.net/global/en/careers)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamelesscoder%2Ftypo3-cms-data-processors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnamelesscoder%2Ftypo3-cms-data-processors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamelesscoder%2Ftypo3-cms-data-processors/lists"}