• Resolved g2lyon

    (@g2lyon)


    Marek,

    I use shortcode only, not the blocks.

    When I am in Google Drive site I find much easier to pickup the folder link instead of the folder name.

    Further more the folder link seams more robust because the folder name can be easily modified in GDrive (eg for sorting) while the folder link remains unchanged.
    When renaming the folder we need also retrieve and update the posts that use this folder (unless the folder ID is saved somewhere by the plugin, but I dont think so)

    So, my question is:Is there a way to use the folder link (or folder ID) in the shortcode instead of folder name?

    I have also in mind that plugin js has to parse the parent folder for retrieving the target folder, while on the base of folder link the target could be reached faster.

    Apart from that the plugin is pefect for my needs. Thanks for the work.

    • This topic was modified 5 years ago by g2lyon.
    • This topic was modified 5 years ago by g2lyon.
    • This topic was modified 5 years ago by g2lyon.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marek Dědi?

    (@marekdedic)

    Hi,
    I’ve added this to our issue tracker: https://github.com/skaut/skaut-google-drive-gallery/issues/311

    But basically, there’s 3 things:
    – We should really use folder IDs instead of names. That wasn’t really a viable option when using a shortcode, but with blocks it is.
    – What you’re requesting would take the link and figure out the path from it – that’s possible.
    – If this is coming, it’s not coming to shortcodes. They’re on their way out and at the moment, we’re basically just looking to keep them working, not to add features to them.

    Thread Starter g2lyon

    (@g2lyon)

    Thank you Marek,

    Link instead of name would be a more robust way also for an other reason: If you have plenty of folders in your main folder you may want to reoganise them in subfolders. I noticed that this doesn’t change the link.

    I understand that you cannot provide this option for the shortcode. I wanted to use the short code in fields (topic/google-drive-gallery-in-a-field/#post-12120202) but my site is still under construction, I will find a way with blocks.

    I hope for good news!

    • This reply was modified 5 years ago by g2lyon.
    Plugin Author Marek Dědi?

    (@marekdedic)

    Hi,
    moving folders would still probably break the gallery.

    Marek

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Folder LINK instead of Folder NAME in shortcode??’ is closed to new replies.