- Posts: 40
- Thank you received: 4
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
- Topic Author
- Offline
- Senior Member
Less
More
6 years 3 months ago #162050
by pberthol
How to set default setting in stat page ? was created by pberthol
Hi,
i want check several option by defaut in all of my survey stat page
which file modify to do that ?
thx,
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.
- cookiemonster
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 2
6 years 3 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
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 40
- Thank you received: 4
6 years 3 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
so form wait getPost('viewsummaryall');, but by defaut where is set it ?
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.
- cookiemonster
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 2
6 years 3 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'
'value'=>$sViewsummaryall
'value'=>'On'
The topic has been locked.
- juliodiz
- Offline
- Senior Member
Less
More
- Posts: 47
- Thank you received: 1
5 years 1 week 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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12916
- Thank you received: 3975
4 years 11 months ago #184052
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
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
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10108
- Thank you received: 3593
4 years 11 months ago #184078
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
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.
- juliodiz
- Offline
- Senior Member
Less
More
- Posts: 47
- Thank you received: 1
4 years 11 months ago #184081
by juliodiz
Replied by juliodiz on topic How to set default setting in stat page ?
Thanks
The topic has been locked.