• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

Form on a page + related list in a module on same page

jeffry

New Member
Hello,

I had posted a reply to this thread (Form on a page + related list in a module on same page http://fabrikar.com/forums/index.ph...-related-list-in-a-module-on-same-page.29120/), but then realized I am using Fabrik 3.3.3 for Joomla! 3.4.4

I am trying to achieve what was discussed here. I am working with the USDA Nutrient Database for Standard Reference. I have two tables with a common field (___NDB_No). Specifically, a table with foods (FOOD_DES), and a table with nutrient values (NUT_DATA). When viewing a food item, I want to display the nutrient values for that food in the Fabrik List Module. I have tried Rob's code and Suzzi's too. However, I have been unsuccessful in getting this to work. Any guidance would be appreciated.

Db table: FOOD_DES
Form ID: 2
Full Element Name: FOOD_DES___NDB_No

Db table: NUT_DATA
Form ID: 8
Full Element Name: NUT_DATA___Nutr_Val
Full Element Name: NUT_DATA___NDB_No

return JFactory::getSession()->get('com_fabrik.form.8.data')['NUT_DATA___NDB_No_raw'];


$nutrval = JFactory::getSession()->get('com_fabrik.form.8.data');
return $nutrval[NUT_DATA___NDB_No_raw];
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top