Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Browse response design

  • Thorski
  • Thorski's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 month ago #126346 by Thorski
Browse response design was created by Thorski
When viewing individual responses in the "Browse Responses" window, the part of the question and the entire response the column represents is not visible, unless you hover over the question. This hinders quick review. Is there a way to show the entire question and the response for that column?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
9 years 1 month ago #126384 by DenisChenu
Replied by DenisChenu on topic Browse response design
No, except if you add some css/js.

BUT : before we show complete question/answer ...

This make very, very, very long page .....

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
9 years 1 month ago #126393 by LouisGac
Replied by LouisGac on topic Browse response design
To do it :

edit the file application/controllers/admin/responses.php
Find the line :
Code:
$column_names[] = "<strong class='qcode'>{$column['name']}</strong> <span class='separator hidden'>:</span> <span class='questiontext'>".ellipsize($column['title'],30,0.6,"...")."</span>";
(should be line 574)

replace it by :
Code:
$column_names[] = "<strong class='qcode'>{$column['name']}</strong> <span class='separator hidden'>:</span> <span class='questiontext'>".$column['title']."</span>";

Now, the whole title is displayed. To change the column widht, in the same file, find :
Code:
            $column_model[] = array(
                'name' => $code,
                'index' => $fielddetails['fieldname'],
                'sorttype' => 'string',// Depend of question type can be excellent
                'sortable' => true,
                'width' => '100',
                'align' => 'left',
                'editable' => false,
                'hidden' => (bool)$bHidden,
                'title' => $text,
            );
Should be at line 555.

Then you can change the setting 'width' to whatever you want.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose