Using lightbox on Table view

black.be3

Member
Hi,
I try to open form using lightbox on table view using calc element that create link on table view, but i'm not able to do it. The link open on current window, not on lightbox.
This is my setting on calc element:
Code:
Show in list : Yes
Calculation:return "<a href=\"index.php?option=com_fabrik&view=form&Itemid=84&formid=7&rowid=1&listid=7\" rel=\"lightbox\">Assign</a>";
Please advice..
 
you need to load in the slimbox code, add this to your list template:

Code:
<?php
FabrikHelperHTML::slimbox();
?>
 
hi rob, is not working..
this what i did:
1. copy "default" list template folder to "default_me".
2. add
Code:
<?php
FabrikHelperHTML::slimbox();
?>
on top of default.php

and i would like to refresh current page (on back of lightbox form) after i submit changes on lightbox form. Can fabrik 3 do that also?
 
no i dont think that will work using the light box
There are mechanisms in place inside fabrik to open a form in a window and update the list on save, the list 'ajaxify links' option does this. However, at the moment, they aren't really available for people to use in custom code.
 
Hi Rob,

i try to display in a custon list template an uplaod image throught AJAX ... i don't manage to do this...and i don't know if is it possible.
Thank you !
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top