Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

google drive #21

Open
paskuale75 opened this issue Jul 21, 2024 · 9 comments
Open

google drive #21

paskuale75 opened this issue Jul 21, 2024 · 9 comments

Comments

@paskuale75
Copy link

any examples of use with google drive?
thanks

@simialbi
Copy link
Owner

It's not yet implemented. Would you like to use it?

@paskuale75
Copy link
Author

paskuale75 commented Jul 22, 2024 via email

@simialbi
Copy link
Owner

I added GoogleDriveConfiguration to the master branch, but don't have tested. Change the version of elfinder to dev-master in your composer.json, so you can test it. You have to at least fill:

    'connectionSets' => [
        'default' => [ // like elfinder roots
            [
                'class' => 'simialbi\yii2\elfinder\ElFinderConfigurationGoogleDrive',
                'connection_id' => '',
                'client_secret' => ''
            ]
        ]
    ],

(according to elfinder issue comments)

@paskuale75
Copy link
Author

paskuale75 commented Jul 22, 2024 via email

@paskuale75
Copy link
Author

In my module init events I've a loop for create N connectionSets:

$connectionSets['pratica-' . $praticaId] = [
                    [
                        'alias' => $alias, // <== HERE
                        'class' => 'simialbi\\yii2\\elfinder\\ElFinderConfigurationGoogleDrive',
                        'client_id' => '***************-ka************ec4oukul54if6o2708c.apps.googleusercontent.com',
                        'client_secret' => '*******************'
                    ]
                ];

I clean the cache for change from filesystem to google drive but console get this to me:

elfinder_gdrive_clientid_issue

thanks

@simialbi
Copy link
Owner

Hmmm... Ok. I'll have a look

@paskuale75
Copy link
Author

paskuale75 commented Jul 24, 2024 via email

@paskuale75
Copy link
Author

Hi @simialbi all fine there ? Any news for me ? Thanks

@simialbi
Copy link
Owner

simialbi commented Oct 8, 2024

Hi @paskuale75

I try to fix it this week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants