1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

MG 1.1 Custome created fields, expand by default?

Discussion in 'Media Gallery Support' started by sross, Feb 16, 2016.

  1. sross

    sross Active Member

    Hi, my users are missing the expand button and think the fields are missing. Can someone tell me how to have the expand button 'expanded' by default? Must be in media_add template? but not a coder so need instruction. Thanks

    Screen Shot 2016-02-16 at 11.12.14 PM.png
    viper357 likes this.
  2. Chris D

    Chris D XenForo Developer Staff Member

    It's fairly simple.

    Go to Admin CP > Appearance > Search Templates > And search for a template with a title of xengallery_media_add_item

    Open that template and in the template code look for:
    And replace that with:
    Save the template, and it will always be expanded by default from now on.

    Incidentally, it is also expanded by default if any of the fields are set to be required. So if there are any fields that must be filled out, you could set them to be required and it has the same effect without having to edit templates.
    viper357 likes this.
  3. sross

    sross Active Member

    did the trick, thanks :)

Share This Page