I'm grouping a list on a Date field. The 'group by' has access set to 'Nobody' so it never changes.
I'm modifying the default.php of a template and what I want to do is get the first record of the group and run a query to add related info to the group line. Getting the id of the first record in the group, or even the value (date) of the 'group by' would work.
I can use the code below to do something similar in default_row.php but when I do it in default.php it seems to be giving me the previous record, which is in a different group.
I'm modifying the default.php of a template and what I want to do is get the first record of the group and run a query to add related info to the group line. Getting the id of the first record in the group, or even the value (date) of the 'group by' would work.
I can use the code below to do something similar in default_row.php but when I do it in default.php it seems to be giving me the previous record, which is in a different group.
Code:
$note= $this->_row->data->schedule___note_raw;
echo $note;