Hello,
I need calendar to show whole day, from 10 to 22 (10am - 10pm) and the week start from monday. Tried to find everywhere but didnt find the right answer. So how to do it?
Sugar version is 4.5.1
Hello,
I need calendar to show whole day, from 10 to 22 (10am - 10pm) and the week start from monday. Tried to find everywhere but didnt find the right answer. So how to do it?
Sugar version is 4.5.1
Hi,
In calendar.php there is somewhere further down this code (see below). I believe you can change it easily (NO GUARANTEES, I AM NOT A PROGRAMMER)...
function get_start_slice_idx()
{
if ( $this->view == 'day' )
{
$start_at = 8;
for($i=0;$i < 8; $i++)
{
if (count($this->slice_hash[$this->slices_arr[$i]]->acts_arr) > 0)
{
$start_at = $i;
break;
}
}
return $start_at;
}
else
{
return 0;
}
}
function get_end_slice_idx()
{
if ( $this->view == 'month')
{
return $this->date_time->days_in_month - 1;
}
else if ( $this->view == 'week' || $this->view == 'shared')
{
return 6;
}
else if ( $this->view == 'day' )
{
$end_at = 22;
for($i=$end_at;$i < 23; $i++)
{
if (count($this->slice_hash[$this->slices_arr[$i+1]]->acts_arr) > 0)
{
$end_at = $i + 1;
}
}
return $end_at;
__________________________
Robert Laussegger
http://www.iscongroup.net
Bei Fragen: support@iscon.at
Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
Ab sofort auch mit 6.4.2
Does anyone have any further information?
Hey there,
I am also interested in a solution.
Found two other threads: Thread 3739 and Thread 4086 but no working solution has been posted so far.
Andreas
Andreas Wilm
Capsid - Agentur für LifeScience
http://www.capsid.com/
***
sugar os 4.5.1d
mysql-5.0.18
php-5.1.2
SuSE Linux 10.1
We use sunbird with the ical patch and that works very well for us.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks