In the front end of the website, in Phoca Download, I would like users to be able to upload the same file to more categories than one, but this seems not to be possible. Phoca says "File already exists".
It is not possible for the user to enter the backend because of restricted permissions (author user group).
How can I manage to work around this?
Upload same file to different categories seems not to be possible
-
cavis
- Phoca Member

- Posts: 13
- Joined: 30 May 2018, 15:23
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Upload same file to different categories seems not to be possible
Hi, there is only one folder for the user in frontend upload, so one file cannot be uploaded more times (see similar posts - there is independent filesystem and database layer - one file can be included in more categories but on file system, there is only one)
Users can enter administration area, but it is up to you if you let them go to admin
Jan
Users can enter administration area, but it is up to you if you let them go to admin
Jan
If you find Phoca extensions useful, please support the project
-
cavis
- Phoca Member

- Posts: 13
- Joined: 30 May 2018, 15:23
Re: Upload same file to different categories seems not to be possible
Thanks for the reply Jan
You say "there is only one folder for the user in frontend upload", however, this is not the case. My users have more folders to choose from. I made more categories from which they can make a choice. Frequently they want to upload the same file to more than one category.
Is there any way to work around this?
You say "there is only one folder for the user in frontend upload", however, this is not the case. My users have more folders to choose from. I made more categories from which they can make a choice. Frequently they want to upload the same file to more than one category.
Is there any way to work around this?
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Upload same file to different categories seems not to be possible
Hi, folder is not category - category is database layer (information about categories are stored in database), folder is file system layer (the folder on the server) and in Phoca Download there is independent dabase and filesystem layer, so even you have more categories, this does not mean more folders

Jan
Jan
If you find Phoca extensions useful, please support the project