Upload with a link in a news

Phoca Download - download manager
Chico008
Phoca Member
Phoca Member
Posts: 11
Joined: 05 Sep 2014, 17:43

Upload with a link in a news

Post by Chico008 »

Hi

I would like users to be able to upload some pics, but i don't want to create a menu for this.
Is this possible to direct the user to an upload form, but with a link instead of a menu ?


Plus : i set a category for the uploaded files, but i didn't find out who to set the default upload directory for this category (and so the users can't change it)

Thanks for your help
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Upload with a link in a news

Post by Jan »

Hi, the folder is created automatically when new category is created.

For now you need to have a menu link to upload - but you can hide the menu link to some hidden module and copy it (before hiding) and paste it everywhere you need :idea:

Jan
If you find Phoca extensions useful, please support the project
Chico008
Phoca Member
Phoca Member
Posts: 11
Joined: 05 Sep 2014, 17:43

Re: Upload with a link in a news

Post by Chico008 »

It doesn't work.

Thus, Phoca download should come with a plug-in to do this easily, and make very small form for user to automaticaly upload files to the selected category
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Upload with a link in a news

Post by Jan »

Hi, what exactly does not work?
Did you create the menu link and did you add it to hidden menu? See: https://www.phoca.cz/documents/16-joomla ... -in-joomla

Jan
If you find Phoca extensions useful, please support the project
Chico008
Phoca Member
Phoca Member
Posts: 11
Joined: 05 Sep 2014, 17:43

Re: Upload with a link in a news

Post by Chico008 »

i managed to do a link, but i get to the general user upload form :
http://img4.hostingpics.net/pics/968842 ... 090404.png

i would like to have a small form, like only with the choose file, and send button, and files be automaticaly uplaoded to a defined category.
users are totally noob, if a get them to this form, they'll be lost and don't know what to do.

i'd like somthing like this :

News

bla bla bla
You can upload your file from here :
[CHOOSE FILE]________]
[UPLOAD]

End News


and nothing else
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Upload with a link in a news

Post by Jan »

Hi, then you need to customize the html directly for your needs:

components/com_phocadownload/views/user/tmpl/ ...

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