Hopefully, I'll be able to explain what I'm trying to do and someone here can help me figure out whether I need to use a Where Condition or Model Relation. I have a table list that lists Joomla users from the #_users table. The name of the user in the list is linked to "listing.viewArticle" where the URL parameter name is "id" and the parameter value is {var:User.id}. Clicking the link takes me to the listing.viewArticle details page. On that page, I have name, dates, and other field information displayed. All is good!
Here is where I need help with using Where Condition or Model Relation. On my listing.viewArticle page I have another table list that displays information from a MySQL table that I created #_user_policy. It is intended to show records only for that Joomla #_user. The issue is that all records from #_user_policy are being shown. What I need is records from #_user_policy for Joomla #_user (id 623 for example) to load. The #_user_policy table has the Joomla #_user id in it.
I keep working myself into circles and can't seem to get over this hurdle. Any help?
Here is where I need help with using Where Condition or Model Relation. On my listing.viewArticle page I have another table list that displays information from a MySQL table that I created #_user_policy. It is intended to show records only for that Joomla #_user. The issue is that all records from #_user_policy are being shown. What I need is records from #_user_policy for Joomla #_user (id 623 for example) to load. The #_user_policy table has the Joomla #_user id in it.
I keep working myself into circles and can't seem to get over this hurdle. Any help?