Setting license type in frontend

Phoca Download - download manager
lodestone
Phoca Member
Phoca Member
Posts: 11
Joined: 07 Sep 2011, 03:04

Setting license type in frontend

Post by lodestone »

Greetings,

I love that I can have different types of useage licenses defined in Phoca Download. However, the frontend file upload page just has a text field for license. Shouldn't that be a dropdown with the different preset licenses like in the backend?

Thanks again,

--Allen

.
maxime.durand
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 14 Feb 2014, 11:55

Re: Setting license type in frontend

Post by maxime.durand »

Hello,

Interesting too by this ask.

The user need to choose her license on a dropdown in front-end.

Best regards,

Maxx
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48568
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Setting license type in frontend

Post by Jan »

Hi, there are two different columns:

- license
- license text

Into license input field you can add string (in admin, frontend) - every possible value

License text is an admin part only, so such input (select licences defined in backend) needs to be customized for now.

Jan
If you find Phoca extensions useful, please support the project
lodestone
Phoca Member
Phoca Member
Posts: 11
Joined: 07 Sep 2011, 03:04

Re: Setting license type in frontend

Post by lodestone »

Greetings,

Thanks for your response.

I guess I'm missing something because I don't understand.

I had setup several types of licenses, titles and descriptions, in the backend.

Image

Then when I went to upload a file in the front end, I expected to find a dropdown list of the license titles, defined in the backend, from which to choose. Instead, I found a text field.

Image

Thanks again,

--Allen

.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48568
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Setting license type in frontend

Post by Jan »

Hi, as written above.

In Phoca Download there are two different license features:

- license: just to set text like GPL, LGPL, ets. such input form is included in frontend
- lecense text: you can set license text which should be e.g. confirmed when downloading file, but such is not included in frontend - this needs to be customized for the frontend.

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