1

Dropbox plugin for Joomla

I have just created a plugin for Joomla to allow simple addition of the Zendesk Dropbox to a Joomla site.

I have added the option of passing the user's name and email to the dropbox form. It works fine and prefills the form fields but they are being passed to the form via GET variables so spaces are getting replaced but the usual %20. The %20 is not being stripped when the values are added to the fields, so for example the name field is filled with John%20Doe.

Should I be encoded them in a specific way or is there no data handling on the Dropbox side?

Jordan

15 comments

  • 0

    @Jordan do you have a site where the dropbox code is running so I can do some test?

    thanks
    Skip 

  • 0

    As Skip said, please provide us something to look at. I have a feeling I know what's wrong but it's pretty hard to understand without any workflow understanding or code, or a live example for that matter!

  • 0

    Here you go: http://www.3bweb.com/

    to test the name and email fields go to http://www.3bweb.com/log-in.html

    user: zendesk

    pwd: zendesk

  • 0

    @Jordan are you URL encoding the variables before passing them to the dropbox? 

  • 0

    I was using the PHP function urlencode(), but removed it as it didn't seem to make a difference.

    Would you like me to add it back in?

  • 0

    How are you passing it to the form? as a PHP variable?  

  • 0

    Got it. The variables are being passed to the dropbox iframe via the URL. Browsers generally URL encode that automatically but it looks like we're not then decoding it when we put them back into the form. 

    We'll get that fixed as soon as we can.

  • 0

    great thanks for that

  • 0

    Well, we've submitted it to the Joomla! Extensions Directory, and it's here to play with, but of course the prefilled stuff (email, subject, description) don't work properly until the encoding is changed:

    https://support.zendesk.com/entries/307829-zendesk-dropbox-for-joomla

  • 0

    Any chance on how to get this working on Joomla 1.7?

  • 0

    Hi Jack, does it work with Joomla 2.5 ? 
    take care
    Lewis

  • 0

    @Preston & @Lewis - It's not currently configured for v2.5 - not something we or our clients have needed thus far, sorry.

    It's open source though, so we're happy to give you all the code and you can update it for 2.5 yourself?

    Jack

  • 0

    Hi Jack,  Just FYI. I just tried it with Joomla 2.5 and it worked.  Great..
    thanks for your support to this community.
    Lewis

  • 0

    I understand that this plugin is no longer being maintained, but I was wondering whether someone would be able to assist me with it. I recently started using Joomla (version 2.5.6), and I love it, but the only thing is that I can't seem to configure Zendesk to work with it. I've tried downloading this plugin, manually adding the code, and many other methods but none seem to get the tab to show up. To make matters a bit more complicated, what I'm trying to achieve is opening the help desk with a link, and hiding the tab (it used to work with Zen Cart), but I can't seem to get it to work even with the tab. Any help would be appreciated. Thanks in advance!

  • 0

    Nevermind! I had the wrong dropbox ID. haha It works now. :)

Please sign in to leave a comment.