Philleep Florence
Philleep Florence
i. Entry Point ``` https://github.com/philleepflorence/directus-8-extensions/blob/master/endpoints/csv/endpoints.php ``` ii. Controllers ``` https://github.com/philleepflorence/directus-8-extensions/tree/master/endpoints/csv/controllers ``` iii. Helper ``` https://github.com/philleepflorence/directus-8-extensions/blob/master/helpers/csv.php ``` All the helper files used within all methods are included in the helper directory.
The previous comment is for an endpoint...
Using PostMan these are some pre-defined parameters. For Export: ``` access_token:{{access_token}} debug:{{debug}} collection:{{collection}} params[fields]:*.* params[status]:published params[limit]:-1 path:csv/collections/{{collection}}.csv options[humanize]:true ``` For Import: ``` access_token:{{access_token}} debug:{{debug}} collection:{{collection}} ``` you will also need...
There is a potential addition to the Core Directus after there is a lift on features freeze.
@MoeVai Unfortunately, there is no Video Tutorial, but I do have a blog that tries to explain some of it... But, you will need to dabble in PHP to implement,...
In the helpers/functions.php is the script to auto load the helper files. You can include this file in your project config file.
Ideally, the `helpers/functions.php` file is imported in the hooks files, but if you are not using any hooks, include `helpers/functions.php` in your project configuration file. I am not fully versed...
Can you share what you have so far and what helper you are trying to use?
Just in case, in the helper/functions.php, you have this snippet: ``` /* AutoLoad - Helper Files - Should Run at application.boot! */ $helpers = scandir(__DIR__); foreach( $helpers as $file )...
To include all the helpers in the project configuration: ``` /* AutoLoad - Helper Files - Should Run at application.boot! */ $helpers = scandir(realpath( dirname(__DIR__) . '/public/extensions/custom/helpers' )); foreach( $helpers...