Helllo,
I am trying to change the numbers starting with a '#'.
Could someone point me in the right direction?
I am looking at the Quiz attempts overview page.
See image below.
thanks.
In simple terms, I am trying to echo my question name in column #1, #2 and #3
Claire,
If your question names are somewhat long (many words) and you have many questions in your report, then the table may become quite wide and overflow your screen.
Maybe better display each question's name in a tooltip, visible when hovering over the question's number? Do you need to see question name on screen only or to print it?
Joseph
If your question names are somewhat long (many words) and you have many questions in your report, then the table may become quite wide and overflow your screen.
Maybe better display each question's name in a tooltip, visible when hovering over the question's number? Do you need to see question name on screen only or to print it?
Joseph
Hi Joseph how do I custom the tool tips?
I like that idea.
I like that idea.
I don't think you can do a custom tooltip, since the tooltip is already taken up by the sorting code.
You could output the question name in a <span class="qname"> that you style to use a small font so that it fits better.
Anyway, the code you need to look at is in mod/quiz/report/overview/report.php, around like 215 where it is building the $headers[] array.
You could output the question name in a <span class="qname"> that you style to use a small font so that it fits better.
Anyway, the code you need to look at is in mod/quiz/report/overview/report.php, around like 215 where it is building the $headers[] array.