• Resolved xfred42

    (@xfred42)


    The form for adding a new downlad has several elements that I’d like to hide and set default values (presumably in the “Settings” of CMDM):

    • Download type : by allowing only a specific type
    • Preview : by forcing to yes
    • Enable Media Player: by forcing to no
    • Screenshots : by forcing to no

    Since the form is not part of your frontend, I’ve set these as hidden elements. To do that, I had to edit lib/helpers/Form/Element/Hidden.php and lib/models/forms/AddDownloadForm.php

    But that approach is doomed because my modifications will be lost on next update.

    What can be done?

    https://www.ads-software.com/plugins/cm-download-manager/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PRO: "Download type" required even if single choice’ is closed to new replies.