FAQ Database Discussion Community


Relationships Typo3

typo3,typo3-flow,typo3-neos
can anyone tell me about relationship on typo 3? e.g. i got 2 tables, 'A' and 'B', currently i got simple form that can inserting data into 'A' table, the 'A' table fields are "name","id_types","address". the "id_types" is foreign_key from 'B' table. And the 'B' table fields are "id_types","types_name". How...

TYPO3 Flow: Convert object to array for CSV export

php,doctrine2,export-to-csv,typo3-flow
I want to export my object "mitglied" to a .csv-file. My controller looks like that: public function exportAction() { // find all mitglieds $records = $this->mitgliedRepository->findTennis(); // Set path for export-file $csvPath = '/var/www/apps/flow/Packages/Application/ITOOP.Atc/Resources/Private/Export/test.csv'; $fp = fopen($csvPath, 'w'); foreach ($records as $lines) { fputcsv($fp, $lines); } fclose($fp); } When I...

Routes for TYPO3 Neos plugin

typo3,typo3-flow,typo3-neos
I'm trying to define routes for my plugin. Everything is working as it should, because I got pretty URL on output, but unfortunately while I'm trying to access it I get an 404 error with message: #1303209195: No controller could be resolved which would match your request. Package key: "",...

How to fill select options from custom database in .yaml files using typo3-neos?

php,yaml,typo3-flow,typo3-neos
i am currently using typo3-neos for my project and i have this problem. i try to make my custom node like this in .yaml file 'TYPO3.Designs:SomeItem': superTypes: - 'TYPO3.Neos:Content' ui: group: 'structure' label: 'Some Item' icon: 'icon-columns' inlineEditable: true inspector: groups: document: label: 'Item options' position: 1 properties: someitem: type:...

how to use validationResover

validation,typo3-flow
Like shown here I want to use the validationResolver to dynamically validate user inputs in my App. Therefore I want to proove, if a condition is true in my controller. If the condition is true, I want to validate with an own validator. For that I tried that: public function...

typo3 flow persist updated relation

php,doctrine2,typo3,typo3-flow
I have an issue TYPO3 Flow updating my relations. Am I wrong, that Flow should update changed relations automatically, so I don't have to update the related entities with the respective repository? Example 1: I have a model "Project" with multiple "Job" childs on attribute "jobs". If I do: $project->setJobs($collectionOfJobs);...

Typo3 Neos: How to pass parameter from typoscript using 'TYPO3.Neos:Plugin'?

typo3,typoscript,typo3-flow,typo3-neos
i wanted to pass a parameter dynamically via aloha editor, i have select box like this on .yaml properties: events: type: string ui: label: 'Events' reloadIfChanged: TRUE inspector: group: 'document' editor: 'TYPO3.Neos/Inspector/Editors/SelectBoxEditor' editorOptions: dataSourceUri: 'events/list' and on .ts2 file i use this prototype(Festival.Backend:Events) < prototype(TYPO3.Neos:Plugin) { package = 'Festival.Backend' controller...

Typo3 Neos Cannot Load Custom Plugin JS On Backend, Must Refresh To Make It Works

typo3,typo3-flow,typo3-neos
i'm trying to load my custom plugin on backend, e.g. datatables.js. But the JS is not working, i must refreshing the page once to make it works, there is also no error on the backend webbrowser console. How to solve this? Any help would be much appreciated! thanks....

What is the relationship between typo3 cms and typo3 flow?

typo3,typo3-6.2.x,typo3-flow
Typo3 CMS is an Open Source content management system and TYPO3 Flow is a PHP-based application framework, then is there any relation between Typo3 CMS and TYPO3 Flow. Please help me to find an answer. Thanks in advance....