I am trying to create a connectivity column which is a binary check mark.
I have a db with a list of requirements (rq) indexed on cf_id and a database of student submissions (sub) that includes an itemid=rq.cf_id and a studentid.
in my ccv5
my Fields for model rq include: cf_id, item, ..., status
In the second model (sub) I set
foreign key to rq.cf_id
join conditions is <?php return array("rq.cf_id => sub.itemid"); ?>
then in front list I show: rq.item, ....rq.status, sub.user_id
I am also dumping in the table header code
<?php
echo '<div>$this->view->vars[rows]: '.print_r($this->view->vars['rows'], true).'</div>';
?>
trouble is I don't see any sub.user_id's appear in the dump or table
I have a db with a list of requirements (rq) indexed on cf_id and a database of student submissions (sub) that includes an itemid=rq.cf_id and a studentid.
in my ccv5
my Fields for model rq include: cf_id, item, ..., status
In the second model (sub) I set
foreign key to rq.cf_id
join conditions is <?php return array("rq.cf_id => sub.itemid"); ?>
then in front list I show: rq.item, ....rq.status, sub.user_id
I am also dumping in the table header code
<?php
echo '<div>$this->view->vars[rows]: '.print_r($this->view->vars['rows'], true).'</div>';
?>
trouble is I don't see any sub.user_id's appear in the dump or table