Support » Plugin: NextGEN Download Gallery » only download all images

  • Hi all,

    i need only the download all button.
    I found in the blog one answer:

    i should insert following code to automaticaly checked the checkboxes and hide them and delete the “Select All” button.

    <input type=”checkbox” name=”pid[]” value=”<?php echo $image->pid ?>” style=”visibility:hidden;” checked />

    but where i have to insert the code?! in which file?
    Does anyone have an idea`?
    Thanks

Viewing 1 replies (of 1 total)
  • Maybe it’s to late for the answear but if someone has the same problem (as I had it), here is the solution:

    You have to insert the code into the template-file “gallery-download.php” (wp-content/plugins/nextgen-download-gallery/templates). Search for the line “<label><input type=”checkbox”…” and replace it with the code you mentioned.
    Also you have to hide/delete the two buttons (line 72 +73).

    AND: I wondered why the changes weren’t visible when I reuploaded the edited file. It’s because NGG has some kind of strange chache, so I had to rename the template-file after each upload (and to select the new one in the gallery settings).

    Best regards
    Andi

    • This reply was modified 3 years, 5 months ago by mardermolchii.
Viewing 1 replies (of 1 total)
  • The topic ‘only download all images’ is closed to new replies.