My problem the checkbox_top and the form_button should be hidden if there are no files to download
The standard Files with Checkboxes layout does not show a 'tick box' if there is no downloadable file in the Download, it shows an info button. Please see pic 'no file in download.png'
or there are no permission to download
Again jD shows an info icon, please see pic 'no perrmission to download.png'
So why do you need an override?Actually there is a third instance when an info button instead of a check box occrs, that is when the downloadable file is on a remote server. See pic 'Other server.png'
Note that in the third pic I used the compact layout version that is available in the Layout Libraryhttp://www.jdownloads.com/index.php/downloads/category/10-layouts-library.html