"Custom Link" that point to child item in Repeated Group

GESTIO

New Member
Hi,

I have a repeated group and I'm trying to redirect users on details view of the corresponding child item when they click on a custom link in the master table's details view.

If I put in the custom link the placeholder {childtable___id} or {childtable___id_raw} the resulting url is something like that: index.php?option=com_fabrik&view=details&formid=XY&rowid=1,2,3,4,5 and so on with all child item's id.

It seems to be similar to an old resolved bug, reported here.

Thank you


Tom
 
I can replicate the issue (but the thread you mention is Fabrik2...)

Workaround: use a calc element to create the link (here the placeholder is replaced correctly), something like

$rowid = '{childtable___id_raw}';
return '<a href="index.php?option=com_fabrik&view=details&formid=XY&rowid='. $rowid. '">text</a>';
 
I can replicate the issue (but the thread you mention is Fabrik2...)

Workaround: use a calc element to create the link (here the placeholder is replaced correctly), something like

$rowid = '{childtable___id_raw}';
return '<a href="index.php?option=com_fabrik&view=details&formid=XY&rowid='. $rowid. '">text</a>';


Thank you for the workaround! :)

Yes, you are right, the mentioned bug is relative to Fabrik 2, but I thought it could be useful to find a solution.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top