See the Configuration Guides at the bottom for how to get the values for clientId, clientSecret, refreshToken, & folderId. Null for the route folder, otherwise a folder ID to base the driver off of ConfigurationĮxample Storage disk configuration using the googledrive storage driver provided by this plugin: To install it with Composer, run composer require luketowers/oc-gdrivefilesystemdriver-plugin from your project root. To install from the repository, clone it into plugins/luketowers/gdrivefilesystemdriver and then run composer update from your project root in order to pull in the dependencies. To install from the backend, go to Settings -> Updates & Plugins -> Install Plugins and then search for LukeTowers.GDriveFileSystemDriver. To install from the Marketplace, click on the "Add to Project" button and then select the project you wish to add it to before updating the project to pull in the plugin. This driver exposes the file and directory IDs when requesting filenames which means if you hooked it up the the Media manager to view your files you would see something like the picture below: Google Drive is an ID-based filesystem it supports having multiple files with the same name within a given directory. October-fied implementation of the Google Drive Flysystem Driver.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |