I am needing to do something similar to this for reports, We added extra data fields, for a location and name field. I have variables for both of these, where do I need to modify the code to pull this info into each user that takes test.
Code below is what I added.
new AriDataTableControlColumn(
array(
'key' => 'First and Last Name',
'label' => JText::_('COM_ARIQUIZ_LABEL_STAFF'),
'sortable' => true,
'formatter' => 'YAHOO.ARISoft.Quiz.formatters.formatUser'
)
),
new AriDataTableControlColumn(
array(
'key' => 'Location',
'label' => JText::_('COM_ARIQUIZ_LABEL_LOCATION'),
'sortable' => true,
)
),
What do I need to add code wise to pull these values. into the QuizResults page for reporting.
I am in a Intranet environment so I can not give access, I see the files you modified for OP, what additions did you make to these files to achieve this. Thanks....
|