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
Connection with filemanager
-
- Forum Members
- Posts: 110
- Joined: Thu Aug 14, 2008 10:33 am
Re: Connection with filemanager
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.
-
- Forum Members
- Posts: 110
- Joined: Thu Aug 14, 2008 10:33 am
Re: Connection with filemanager
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.

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.
-
- Forum Members
- Posts: 110
- Joined: Thu Aug 14, 2008 10:33 am
Re: Connection with filemanager
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.
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
You may want to look into tinys structure/use of it to copy for yours...
- Silmarillion
- Dev Team Member
- Posts: 483
- Joined: Sun Jan 02, 2005 9:10 pm
- Location: Denmark
Re: Connection with filemanager
for cmsms 2.0 a plug into the FM-Module is planned... but it's not coming out for some time...