You might be able to put the FileUpload snippet on the same page as NewsPublisher. I've never tried it. It might require using an iFrame.
thanks for the advice Bob. I will try it out and see.
Unfortunately, placing Fileupload on the same page does not work.
You could create a file TV attached to the resource they're editing, if that would meet your needs.
Or you might be able to add an iFrame that pulls in a separate page with the FileUpload snippet.
Just create a file-type TV and put the name of it in the &show property of NewsPublisher. Make sure the TV is attached to the Template used by the page the user is editing. When the user uploads (via the upload icon) and then selects a file, the file path will be stored in the TV for that resource.
If you later go to the Create/Edit resource page in the Manager for that resource, you should see the value of that TV for that resource on the Template Variables tab.
You should be able to restrict where the user can upload to by creating a Media Source for the user's user group.
-
☆ A M B ☆
- 24,524 Posts
A Media Source wouldn't solve your directory access control requirements?