Cannot remove license box using a file layout menu option

Phoca Download - download manager
corpusbarga
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 24 Sep 2009, 08:31

Cannot remove license box using a file layout menu option

Post by corpusbarga »

Hi!

I've created a menu option of file layout type. I don't want a license box to be showed, but I'm not able to hide it: although I've set "none" as 'license' as stated in a past thread in the forum, the license box (empty) keeps appearing. However, if I use a category layout the license correctly doesn't appear. Is there some other value I have to set?

Thank you in advance!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Cannot remove license box using a file layout menu option

Post by Jan »

Hi, you can set if license box will be displayed or not in: Phoca Download - Files: Edit/New : Confirm License (if there will be some, the box with license will be displayed)

Jan
If you find Phoca extensions useful, please support the project
corpusbarga
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 24 Sep 2009, 08:31

Re: Cannot remove license box using a file layout menu option

Post by corpusbarga »

Hi,

I have not created any license, so the 'Confirm License' remains set as '- Select license -' . However, the license box (empty) keeps appearing. It doesn't occurs if I use another type of layout, like category layout, but using the file layout I'm unable to hide the box.

Thanks for your help, and congratulations for all your extensions!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Cannot remove license box using a file layout menu option

Post by Jan »

Hi, what you mean with using file layout?
If you find Phoca extensions useful, please support the project
codejunkie
Phoca Professional
Phoca Professional
Posts: 167
Joined: 11 Apr 2009, 01:30
Contact:

Re: Cannot remove license box using a file layout menu option

Post by codejunkie »

Jan wrote:Hi, what you mean with using file layout?
You would guess it is the layout used from a link to a file in the category view layout.

Edit for additional information:

The reason you cannot remove the license agreement box and subsequent check box is that it is hard coded into the components/com_phocadownload/views/file/tmpl/default.php file. If you would like, you can copy this file into your templates/{assigned template folder}/html/com_phocadownload/file folder and use it as a template override.

You could then edit this view to your desired look.
Download Phoca Download Menu Module for listing Sections or Categories.
Post Reply