nrsmoll
Member
I have two lists, "Main" which is a contact form, and "Visits" (list id 66) which is a related table (one to many relationship).
In the list view of "Visits" I have put a content plugin so that I can have the patient details (from the contact form) at the head of the Visits lists, to remind the user of who's record they are working on. In otherwords, I am putting the details of the parent row above the child list.
The following code works perfectly (except that it is always choosing the same contact/record).
I have tried sooo many combinations to try and get this to work. (The rowid and table ID are the same coincidentally). I've made sure the joins are present (Main -> visit).
I'm sure this is a really easy fix, and most of those bits of code are wrong.
In the list view of "Visits" I have put a content plugin so that I can have the patient details (from the contact form) at the head of the Visits lists, to remind the user of who's record they are working on. In otherwords, I am putting the details of the parent row above the child list.
The following code works perfectly (except that it is always choosing the same contact/record).
Code:
{fabrik view=details id=91 rowid=66}
I have tried sooo many combinations to try and get this to work. (The rowid and table ID are the same coincidentally). I've made sure the joins are present (Main -> visit).
Code:
{fabrik view=details id=91 rowid={rowid}}
{fabrik view=details id=91 rowid=[rowid]}
{fabrik view=details id=91 rowid='{rowid}'}
{fabrik view=details id=91 rowid=visit___fk_visit_main}
{fabrik view=details id=91 rowid=visit___fk_visit_main_raw}
{fabrik view=details id=91 rowid={visit___fk_visit_main_raw}}
{fabrik view=details id=91 rowid=[param1]}
{fabrik view=details id=91 rowid=main___id
I'm sure this is a really easy fix, and most of those bits of code are wrong.