Hy! It's my first post. Thank you all in advance.
I'm using two linked DB multirecord loader, through the definition of associated models in their configuration. The two DB multirecord loader are in the submit event.
By this way, I can display all records (of both joined tables) through Data displayer configuration.
I need one of this field to be a link to another form.
In my example, I joined two tables (i.e. Articles and Authors), and I can display the list of article name and writer names, specifying these fields names in "Display fields" of Data Displayer of Articles DB mutlirecord loader (i.e. article_name:Article,Authors.author_name:Writer where Authors is the name of the joined model).
What I need is that the name of the article become a link to another form (href=\"index.php?option=com_chronoforms&chronoform=article_details).
I've found an example to generate such a link through a Custom Code action in the submit event instead of the Data Displayer configuration. The example works only if I put fields of just one model - one DB multirecord loader in the list (i.e.article_name:Article). I need to have in the same list also joined fields (i.e Authors.author_name:Writer).
Could you help me?
Vince
I'm using two linked DB multirecord loader, through the definition of associated models in their configuration. The two DB multirecord loader are in the submit event.
By this way, I can display all records (of both joined tables) through Data displayer configuration.
I need one of this field to be a link to another form.
In my example, I joined two tables (i.e. Articles and Authors), and I can display the list of article name and writer names, specifying these fields names in "Display fields" of Data Displayer of Articles DB mutlirecord loader (i.e. article_name:Article,Authors.author_name:Writer where Authors is the name of the joined model).
What I need is that the name of the article become a link to another form (href=\"index.php?option=com_chronoforms&chronoform=article_details).
I've found an example to generate such a link through a Custom Code action in the submit event instead of the Data Displayer configuration. The example works only if I put fields of just one model - one DB multirecord loader in the list (i.e.article_name:Article). I need to have in the same list also joined fields (i.e Authors.author_name:Writer).
Could you help me?
Vince