Directorylist
Posted: Mon Jan 12, 2009 3:46 pm
Hello,
I am writing a module. With this module you can write items and show them at the frontend.
What i want to do is to make an option that allows the user to link a document (.pdf or .doc) to the item. So i made een input field with a button next to it that says: browse. When this button is clicked i want to show a new page with all the files in the directory uploads of CMS MS. And when the user clicks on a file, the path to this directory will be the value of the input field.
The list i want to create is like the list of the FileManager. I tried to make that page work for my module but it didnt work.
Can someone help me?
Bas
I am writing a module. With this module you can write items and show them at the frontend.
What i want to do is to make an option that allows the user to link a document (.pdf or .doc) to the item. So i made een input field with a button next to it that says: browse. When this button is clicked i want to show a new page with all the files in the directory uploads of CMS MS. And when the user clicks on a file, the path to this directory will be the value of the input field.
The list i want to create is like the list of the FileManager. I tried to make that page work for my module but it didnt work.
Can someone help me?
Bas