How to set default setting in stat page ?

More
3 months 3 weeks ago #162050 by pberthol
pberthol created the topic: How to set default setting in stat page ?
Hi,

i want check several option by defaut in all of my survey stat page

which file modify to do that ?

thx,

Please Log in or Create an account to join the conversation.

More
3 months 1 week ago #162357 by cookiemonster
cookiemonster replied the topic: How to set default setting in stat page ?
application\views\admin\export\statistics_subviews\_outputoptions.php

Please Log in or Create an account to join the conversation.

More
3 months 1 week ago #162380 by pberthol
pberthol replied the topic: How to set default setting in stat page ?
ok, if i see code of i see this : _dataselection.php
<div class='form-group'>
            <?php $sViewsummaryall = (int) Yii::app()->request->getPost('viewsummaryall');?>
            <label class="col-sm-4 control-label" for='viewsummaryall'><?php eT("View summary of all available fields:"); ?></label>
            <div class='col-sm-1'>
                <?php $this->widget('yiiwheels.widgets.switch.WhSwitch', array('name' => 'viewsummaryall', 'id'=>'viewsummaryall', 'value'=>$sViewsummaryall, 'onLabel'=>gT('On'),'offLabel'=>gT('Off')));?>
            </div>
        </div>

so form wait getPost('viewsummaryall');, but by defaut where is set it ?

Please Log in or Create an account to join the conversation.

More
3 months 1 week ago #162390 by cookiemonster
cookiemonster replied the topic: How to set default setting in stat page ?
if you want to set this on by default you can do:
'value'=>$sViewsummaryall
'value'=>'On'

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!