views:

67

answers:

1

Hi,

How can I add an the Joomla built-in uploader to my component's admin back-end such that the file itself is saved in a folder somewhere in the server and the filename or url is saved in the DB? The docs for JHMLBehavior/uploader under http://docs.joomla.org/API16:JHtmlBehavior/uploader are useless, and I've tried Googling for a comprehensive guide on how to do this but couldn't find any.

Please help.

Regards, Simon

A: 

You're aware that you're looking at the 1.6 version of the code, not 1.5? 1.5 is the current release - 1.6 probably hasn't got the full set of documentation.

Jeepstone
Thanks for pointing that out. However, even the documentation for 1.5 (http://docs.joomla.org/API15:JHTMLBehavior/uploader) has the same stuff: syntax and source code with no example(s) or solid ducumentation on how to actually use the uploader. Doesn't help much. An example would be most helpful.
Simon
Jeepstone