Stephen Bruce Posted February 4, 2022 Posted February 4, 2022 (edited) Is there a way to disable / hide the renewal options on the file upload form in the Downloads app? My site is not using renewals as all files are just a one-off payment so there’s no need for this cluttering the upload form. I see no settings to disable this in the Admin controls thanks Edited February 4, 2022 by Stephen Bruce
Adriano Faria Posted February 5, 2022 Posted February 5, 2022 No as renewals are optional per file, so it’s up to the file submitter to add it ir not. This is why it’s there. You can probably hide it with some CSS trick.
Stephen Bruce Posted February 5, 2022 Author Posted February 5, 2022 I understand it’s optional per file by default but every community has different needs and mine does not need this feature as an option so I’d like to remove it and have it permanently turned off.
opentype Posted February 5, 2022 Posted February 5, 2022 9 hours ago, Adriano Faria said: You can probably hide it with some CSS trick. Yep. #file_renewals { display:none !important; } #filedata_0_file_renewals { display:none !important; } #elField_file_renewals_label { display:none; } #elRadio_file_renewals_0_file_renewals { display:none; } #elRadio_file_renewals_1_file_renewals { display:none; } Adriano Faria and Stephen Bruce 1 1
Stephen Bruce Posted February 5, 2022 Author Posted February 5, 2022 1 hour ago, opentype said: Yep. #file_renewals { display:none !important; } #filedata_0_file_renewals { display:none !important; } #elField_file_renewals_label { display:none; } #elRadio_file_renewals_0_file_renewals { display:none; } #elRadio_file_renewals_1_file_renewals { display:none; } Thank you. Where would I put this code?
Stephen Bruce Posted February 5, 2022 Author Posted February 5, 2022 Ok I’ll check that out. Thanks a lot!
Recommended Posts