@Bluefox:
Thank you ! you gave me lots of ideas which lead me to my solution.
As I had writte before, for us it would be sufficient to have this information in the CSV-Export of the attendees.
So it is quite simple (everything is simple after the problem is solved
I had to modify 2 files:
models/attendees.php
in order to append "my" field 'cb_stimme' to the query that builds the attendees - structure:
Line:
191 $stimme = ', cb.cb_stimme as stimme'; //bo 18.07.2020
192 $join = ' LEFT JOIN #__comprofiler as cb ON cb.user_id = r.uid'; //bo 18.07.2020
and
$query = 'SELECT r.*, u.username, u.name, u.email, a.created_by, a.published,'
. ' c.catname, c.id AS catid'
197 . $stimme
...
203 . $join
and
controllers/attendees.php
to output the additional column to the CSV
line:
225 public function export()
261 $cols[] ='Stimme'; //bo 18.07.2020
279 $cols[] = $data->stimme; //bo 18.07.2020
that's it
NOW I will have a big glass of Bavarian Weissbier