Hi Joffm, jelo, holch
First thank you all for the amazing and enthusiastic help. @Joffm: This was the path I have taken for my solution, it was obvious that some html was necessary. My fear was that an adminstrative would not be able to handle the HTML in the text. So I modified the code in do_array() to enable multiple pipe symbols as separators, keeping the $answertext and $answertextright variable in place:
$answertexts = explode('|', $answertext);
$answertext = (count($answertexts) > 0) ? $answertexts[0] : '';
$answertextright = '';
if (count($answertexts) > 2) {
$answertextright = $answertexts[2];
} elseif (count($answertexts) > 1) {
$answertextright = $answertexts[1];
}
Later in the code I nulled the cellwidth params and added some classes for separate formatting. It seemed to me not helpful to set the column width directly in the element. And the "question width" would have been applied to the right and left columns, I needed space on the left for longer questions. col.php, answer_row.php and answer.php I modified by removing the style=.. attribute, added some divs with new classes, extended the template and added custom css that works only, if the question has a 'question-polar' class. Still missing are the mobile settings. See attached the result.
This exercise gave me the chance to have a look at the code, a lot of work in it, chapeau. If I could take a wish, it would be some kind of plugin architecture that makes extending easier. I saw some concepts - e.g. the "one char unique question type code" that gave me an impression of the work that has to be done.
The topic has been locked.