How to set default setting in stat page ?

More
1 year 6 months ago #162050 by pberthol
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.

LimeSurvey Partners
More
1 year 6 months ago #162357 by cookiemonster
application\views\admin\export\statistics_subviews\_outputoptions.php

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

More
1 year 6 months ago #162380 by pberthol
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
1 year 6 months ago #162390 by cookiemonster
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.

More
3 months 2 days ago #183425 by juliodiz
Yes, but how can we checked all question and group above?

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

More
2 months 1 week ago #184052 by Joffm
To be honest:
it was not.

The threadstarter had a question about the the backend, especially the statistics page.
You are referring to something quite different, default answer options in the frontend.

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless

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

More
2 months 1 week ago #184078 by tpartner
@Joffm, I blocked that user - he had hidden links in the post.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
The following user(s) said Thank You: DenisChenu, Joffm

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

More
2 months 1 week ago #184081 by juliodiz

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!