Hi Teldrive,
Please try the conditions as below:
return array('joom.username'=>$user);
You can also use a "debugger" action under the "db read" to check the executed SQL.
Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Teldrive,
Apologies for the delay.
There is a misunderstanding here I think, the main table is the one defined in the "db read" main area, and the relation is to this table, so if your table is set to jos_user and the relation table is the groups one then it should be easy.
Where do you have the "joom.user_id=group.user_id" ?
Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max, that is the issue, and this is only an example to try to understand how it Works this new feature, i think i can simplify many forms;-)
it seems to me that one field is missing on this relation table section, I miss some field(as in cc is called "join conditions" ) where i can define relation between tables fields 😲 Please let me know if not necessary how to say that i need to locate all the(hasmany) group.group_id that match joom.user_id=group.user_id
Hi Teldrive,
I agree that a join conditions would be helpful but the foreign key field should be enough in this particular case, since you are using the primary key of the main table anyway.
Please send me as message using the "contact us" form to get a patch to test the Join Conditions in db read once I add it.
Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.