Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #1152071

    Dear Kriesi-Team

    I have created a new element for the Layout Builder. In it the user should be able to open the Select Media popup of the media gallery with a button. However, he should not be able to select images, but PDFs and World files.

    This is how id should look like: – Button for selecting Document – Gallery Popup with Documents instead of images

    Could you help me with what I have to write into the array “type” to open such a window? I already tried it with “type” => “application”, because in the gallery all such files can be displayed with the URL
    Also everything else I tried did not lead to any result. The button is simply not displayed at all.

    This is what I have so far:
    “name” => __(“Choose a document”,’avia_framework’ ),
    “desc” => __(“Upload a new document, or select an existing one from the media library.”,’avia_framework’ ),
    “id” => “id”,
    “fetch” => “id”,
    “type” => “???”,
    “title” => __(“Choose a document”,’avia_framework’ ),
    “button” => __(“Choose a document”,’avia_framework’ ),
    “std” => “”

    Many thanks in advance for your help!


    Hey drdrsnow,

    Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.