1. Fabrik 3.8.1 has been released. It is mostly bug fixes and feature enhancements, but does include two new plugins (push notifications, and the sequence element). As usual we strongly recommend testing the new release on a sandbox if your application is mission critical, and always do an Akeeba backup before updating.
    Dismiss Notice

File Upload element

Discussion in 'Standard Support' started by Bren, Aug 11, 2018.

  1. Bren

    Bren Member

    Level: Community
    Hello all.
    I'm using the file upload element again; but I noticed a difference between Fabrik versions since I used it last. I have one site that's using the Fabrik v3.8 file upload element and when a user clicks on the file name in a Fabrik list a nice modal popup appears. On my other site I'm using the current Fabrik v3.8.1 file upload element and when a user clicks on the file name in a Fabrik list the entire page displays the image. Then the user has to click on the browser back arrow. I would prefer the popup instead. I compared my settings in the element from both sites and they match. Any suggestions?
    Thanks in advance.
     
  2. troester

    troester Well-Known Member Staff Member

    Level: Community
    Ajax fileupload or standard?
    What are your settings?
    I can see this "opening in browser", too, if the list is displaying the filename (not the image thumb), but it's the same in Fabrik3.8.
    Did you do anything in the fileupload layouts on your 3.8 site?
     
  3. Bren

    Bren Member

    Level: Community
    Hi troester.
    I’m using Ajax.
    Now that you mention it; I forgot that Hugh helped me last year when the site was on mySite. He added the popup. I wonder if he did something in the layout. I should mention that the popup also looked very much like the Regular Labs Modal popup. I haven’t gotten into trying layouts, yet. Not really sure where to go to see if he did adjust the layout. Any chance you can steer me in a direction and maybe a helpful how to weblink?
    Thanks in advance


    Sent from my iPhone using Tapatalk
     
  4. troester

    troester Well-Known Member Staff Member

    Level: Community
    The layout file is
    plugins\fabrik_element\fileupload\layouts\fabrik-element-fileupload-file.php

    Copy it to an override folder in your J! template or maybe in your Fabrik list template (I don't know where it is in your 3.8 site) and add the changes Hugh made on your 3.8 site.
    I think mainly it's adding rel="lightbox[]" as a link option.
     
  5. Bren

    Bren Member

    Level: Community
    Hugh,
    Do you remember how you setup the file upload element popup from a list aboutva year ago? I’ve tried Troester’s suggestion and I couldn’t get it to do work.
    Thanks in advance.
     
  6. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Community
    Hmmm, nope, no memory of it.

    -- hugh
     

Share This Page