Plugin Author
minnur
(@minnur)
Hi ,
Thanks for your answer.
I tried to add this line in the file GoogleDrive.js like this :
function createPicker() {
if ( pickerApiLoaded && oauthToken ) {
var view = new google.picker.View( google.picker.ViewId.DOCS );
view.setIncludeFolders(true);
var $type = _parent_container.data( ‘type’ );
var $plugin = _parent_container.data( ‘plugin’ );
var $extensions = _parent_container.data( ‘mime-types’ );
var $cardinality = _parent_container.data( ‘cardinality’ );
But it returns me an error. Could you help me where i need to copy this function ? I am not a programmer
Plugin Author
minnur
(@minnur)
Hi,
I have a very limited time this week, but should be able to look into this more next week. If the code works, I will make it easy to use for non-programmers. Will probably add a checkbox to the configuration page. Please stand by, I hope this missing feature is not preventing you from using the plugin.
Thanks,
Minnur
Hi,
It will be a great thing for us !!
Thanks.
Plugin Author
minnur
(@minnur)
Hi,
I just implemented this. Please download version 1.0.6.
Please let me know if that’s what you were looking for!
Thanks!
Plugin Author
minnur
(@minnur)
I am marking this as resolved. Please let me know if you have any issues with this.
Hi Minnur,
I still dont see options to quote display by folder.
I also delete and instal the plgin to be sur that it dosn’t come from my side.
Are you sure you released the good version ?
Thanks
Plugin Author
minnur
(@minnur)
Yep, I am pretty sure. I see all the folders in my account. The next release will have more options to control Google Drive. I am still testing it.
Plugin Author
minnur
(@minnur)
This is the file from 1.0.6 version.
https://plugins.svn.wordpress.org/external-media/tags/1.0.6/plugins/js/GoogleDrive.js
As you can see I added the following:
1. google.picker.ViewId.FOLDERS
2. view.setIncludeFolders(true);
Please try clear your browser cache.