Open link

peppe10

Member
From the details of the list, the links are opened in the same window. How do I open links in a new window?
 
In list settings "Links" select the "Detail Link Target".
If you want to open the details view in a popup set "Ajaxfy links"=yes.
 
I tried it, but it's not what I want. Once you get into the details, clicking the link must open in a new window. how to do?
 
If you set the fileupload element to creating thumbnails and "Show media in form"=cropped... you'll get the thumbnail in details view and the full image in a popup.

If you only want to show the file name you can add a override http://fabrikar.com/forums/index.php?wiki/jlayouts/

Copy
plugins/fabrik_element/fileupload\layouts\fabrik-element-fileupload-image.php
to
...\templates\your-template\html\layouts\fabrik-element-fileupload-image.php
and adapt the link

Code:
...
if ($d->showImage == 0 && !$d->inListView) :
    ?>
    <a target="_blank" href="<?php echo $d->fullSize; ?>">...
 
In my templates there is no layout folder.
I created the folder (layout) and copied the Fabrik-element FileUpload-image.php file
How do I need to adapt the code?
 
As Troester said, see post #8. What part of the code in post #8 is not clear? Modify line 10 to include the target="_blank".

-- hugh
 
I created the folder (layout) and copied the Fabrik-element FileUpload-image.php file
...\templates\your-template\html\layouts\fabrik-element-fileupload-image.php
 
I tried in the details of another table, but did not open the link in a new window.
How do you set up to open the details and forms links in a new window?
Thank you
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top