• Resolved ceedric

    (@ceedric)


    Hi

    I suggest a modification in the plugin :

    1/ simplest version
    in GoogleDrive.js, line 48, add :
    view.setParent(‘root’);

    To limit the picker view to the root elements. Currently all elements in the drive are displayed flat.

    2/ better but needs some more work :
    view.setParent($folder_id);

    $folder_id would be set in the plugin parameters, to limit drive access to a specific folder. Default value would be ‘root’.

    https://wordpress.org/plugins/external-media/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author minnur

    (@minnur)

    Thanks for your suggestion! I made some interface improvements with more Google Drive control options. However it is in not in the release yet. Settings a default folder is a great idea however I have It is indeed requires more work. Once I have more time I will look into possibility of settings default folder.

    The current development version can be seen in the repository.
    https://plugins.svn.wordpress.org/external-media/trunk/

    Thanks!

    Plugin Author minnur

    (@minnur)

    Hi,

    I made some refinements to the Google Drive plugin. However parent folder still stays open due to several issues:
    – First of all I need to find a way to pull folder ID since it doesn’t match the name need deeper API integration.
    – Need to find a way to create a folder if it doesn’t exists.

    If there are more people who need this I possibly willing to donate I could spend more my own time developing more complex integrations.

    Thanks,
    Minnur

    Plugin Author minnur

    (@minnur)

    Marking this as Resolved.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Limit drive view to specific folder’ is closed to new replies.