Connection time selection

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
#2
Hello,

It is not possible to to it from web admin interface. 
You can change the list by editing this file : 

Code:
/opt/keexybox/keexyapp/src/Controller/Component/ConnectionDurationComponent.php

You can put comment // before durations you do not want or add some in the $durations array :

PHP Code:
class ConnectionDurationComponent extends Component
{
public function 
GetDurationList()
{
$durations = [
'15' => __('15 minutes'),
'30' => __('30 minutes'),
'60' => __('1 hour'),
'120' => __('2 hours'),
'240' => __('4 hours'),
'480' => __('8 hours'),
'720' => __('12 hours'),
'1440' => __('1 day'),
'10080' => __('1 week'),
'20160' => __('2 weeks'),
'44640' => __('1 month'),
];
return 
$durations;

}


Reply
#2
Hello,

It is not possible to to it from web admin interface. 
You can change the list by editing this file : 

Code:
/opt/keexybox/keexyapp/src/Controller/Component/ConnectionDurationComponent.php

You can put comment // before durations you do not want or add some in the $durations array :

PHP Code:
class ConnectionDurationComponent extends Component
{
public function 
GetDurationList()
{
$durations = [
'15' => __('15 minutes'),
'30' => __('30 minutes'),
'60' => __('1 hour'),
'120' => __('2 hours'),
'240' => __('4 hours'),
'480' => __('8 hours'),
'720' => __('12 hours'),
'1440' => __('1 day'),
'10080' => __('1 week'),
'20160' => __('2 weeks'),
'44640' => __('1 month'),
];
return 
$durations;

}


Reply


Messages In This Thread
Connection time selection - by Vangerdahast - 10-22-2021, 08:24 AM
RE: Connection time selection - by paul - 10-29-2021, 07:14 AM
RE: Connection time selection - by Vangerdahast - 02-15-2022, 09:22 AM
RE: Connection time selection - by Vangerdahast - 02-22-2022, 02:33 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)