简体   繁体   中英

How to add file uploader field to Joomla admin component?

I made Joomla admin component according to Joomla guide - http://docs.joomla.org/Developing_a_Model-View-Controller_Component/2.5/Developing_a_Basic_Component

In administrator\\components\\com_invoicemanager\\models\\forms i have defined <field name="invoice" type="file"/>

Now I need to capture uploaded file and save it on the disk.

How to do it ?

Now how can i save it?

This is a bit vague. You will need to provide more detail and possibly something you have already tried.

You might also be interested in an SWFUpload Component

It has been made very simple, to allow easy integration into other components.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM