Forums/Community/Community tips & tricks

Dropbox plugin for Joomla

Jordan Worner
posted this on October 21, 2010 09:59

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

 

Comments

User photo
Skip Moore
Zendesk

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

thanks
Skip 

October 21, 2010 10:10
User photo
Jake Holman
Product Manager

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!

October 21, 2010 10:25
User photo
Jordan Worner
3B Digital

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

October 21, 2010 10:30
User photo
Skip Moore
Zendesk

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

October 21, 2010 11:07
User photo
Jordan Worner
3B Digital

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?

October 21, 2010 11:19
User photo
Skip Moore
Zendesk

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

October 21, 2010 11:31
User photo
Jake Holman
Product Manager

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.

October 21, 2010 11:34
User photo
Jordan Worner
3B Digital

great thanks for that

October 21, 2010 11:36
User photo
Jack Bremer
3B Digital

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

October 22, 2010 01:06
User photo
Preston Lanier
Any chance on how to get this working on Joomla 1.7?
August 29, 2011 19:21
User photo
lewis

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

March 25, 2012 06:21
User photo
Jack Bremer
3B Digital

@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

March 25, 2012 08:10
User photo
lewis

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

March 25, 2012 14:45
User photo
Rachel Marie

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!

June 28, 2012 05:42
User photo
Rachel Marie

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

June 28, 2012 05:45