Page 1 of 1

Connection with filemanager

Posted: Fri Jan 09, 2009 11:58 am
by purplerain12
Hello,

I am writing a module. In this module there is a option to link a file from the filemanager to a item.

I created a upload box. When i click on the browse button, it opens a screen with the files on my computer.

What i want is to open a screen that's connected to the filemanager, so i can link a file from the filemanager to the item.

Can someone tell me what i have to do to make this possible?

Regards,

Bas

Re: Connection with filemanager

Posted: Fri Jan 09, 2009 1:23 pm
by duclet
I don't get it. You want the Browse button in your upload field in your file manager to open up your filemanager again? That doesn't make sense. If you are uploading a file to your server, then of course you need to select a file from your computer.

Re: Connection with filemanager

Posted: Fri Jan 09, 2009 2:15 pm
by purplerain12
Maybe i didn't explain it ok. I'll trie again.  :)

In my module i have a page called newitem.php. In this page there is a form where you can fill in some text en there is a upload area. But this upload area isn't really a upload area, the only thing this area has to do is to put a textbased link in the database. When someone clicks on the browse button, it should open a screen with al the files in the uploads folder, so the user can select a file and when clicked on ok the link will be shown in the upload area (read: ).

I don't no if this explanation makes it easier, i hope so.

Re: Connection with filemanager

Posted: Fri Jan 09, 2009 2:22 pm
by purplerain12
For example:

The button Image in the TinyMCE editor is kind a like what i mean.

When you click this button it opens a popup where you can select an image from the image folder. This is what i need, but then with a area and a link to the uploads folder instead of the image folder.

Re: Connection with filemanager

Posted: Fri Jan 09, 2009 6:10 pm
by Dr.CSS
You may want to look into tinys structure/use of it to copy for yours...

Re: Connection with filemanager

Posted: Sat Jan 10, 2009 9:02 pm
by Silmarillion
for cmsms 2.0 a plug into the FM-Module is planned... but it's not coming out for some time...