Welcome to the LimeSurvey Community Forum

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

How to set default setting in stat page ?

  • pberthol
  • pberthol's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 2 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,
The topic has been locked.
More
6 years 2 months ago #162357 by cookiemonster
Replied by cookiemonster on topic How to set default setting in stat page ?
application\views\admin\export\statistics_subviews\_outputoptions.php
The topic has been locked.
  • pberthol
  • pberthol's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 2 months ago #162380 by pberthol
Replied by pberthol on topic How to set default setting in stat page ?
ok, if i see code of i see this : _dataselection.php
Code:
<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 ?
The topic has been locked.
More
6 years 2 months ago #162390 by cookiemonster
Replied by cookiemonster on 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'
The topic has been locked.
More
4 years 11 months ago #183425 by juliodiz
Replied by juliodiz on topic How to set default setting in stat page ?
Yes, but how can we checked all question and group above?
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 10 months ago #184052 by Joffm
Replied by Joffm on topic How to set default setting in stat page ?
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
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 10 months ago #184078 by tpartner
Replied by tpartner on topic How to set default setting in stat page ?
@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.
The following user(s) said Thank You: DenisChenu, Joffm
The topic has been locked.
More
4 years 10 months ago #184081 by juliodiz
Replied by juliodiz on topic How to set default setting in stat page ?
Thanks
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose