FILE FIELD: please disable parameter "Use Downloads Manager

More
11 years 10 months ago #38977 by yasarts
Hi,
i've got a notice "FILE FIELD: please disable parameter "Use Downloads Manager Module", the module is not install or not published"

I disable it on backend (option on "No" for "Use downloads manager module" in field, but there is no change on this notice.

J!2.5.14, Flexi 2.1.0 r1709 (language : French).

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #38978 by ggppdk
Hello, please,

1. if you have more than one file fields , make sure that you set parameter to "No" for all of them

2. make sure that you click save ONCE (in each file field), even if it shows "no" (i will correct the default value inside the field to be "no" so that existing installation do not have to click save on A)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #38980 by yasarts
I'm sure I saved. I use only one field 'file'
In database i've got : "use_downloads_manager":"0"" and it change if I choose the 'yes' option, but the information message is always there.

(example : this link )

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #38981 by ggppdk
Hello

did you also clear the cache?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #38982 by ggppdk
Hello,

yes it is a bug, please edit file field (file.php)
and find:
Code:
$use_downloads_manager = $field->parameters->get( 'use_downloads_manager', 1); static $mod_is_enabled = null; if ($mod_is_enabled === null) {
and replace with:
Code:
$use_downloads_manager = $field->parameters->get( 'use_downloads_manager', 0); static $mod_is_enabled = null; if ($use_downloads_manager && $mod_is_enabled === null) {

i will commit the fix


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #38983 by yasarts

ggppdk wrote: Hello,

yes it is a bug, please edit file field (file.php)
and find:

Code:
$use_downloads_manager = $field->parameters->get( 'use_downloads_manager', 1); static $mod_is_enabled = null; if ($mod_is_enabled === null) {
and replace with:
Code:
$use_downloads_manager = $field->parameters->get( 'use_downloads_manager', 0); static $mod_is_enabled = null; if ($use_downloads_manager && $mod_is_enabled === null) {

i will commit the fix


That's it.
Thanks a lot.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.354 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save