Author Topic: Show assigned user in calendar view  (Read 3446 times)

Murz

  • Full Member
  • ***
  • Posts: 147
    • View Profile
Show assigned user in calendar view
« on: June 17, 2010, 02:31:08 AM »
Will be good to see assigner names (or only logins for save space) in tasks on calendar view.

In month view there are no such space, but in weekly and daily views we can add this info.

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: Show assigned user in calendar view
« Reply #1 on: June 22, 2010, 10:14:20 AM »
It's an easy hack

Se7en

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Email
Re: Show assigned user in calendar view
« Reply #2 on: June 24, 2010, 03:59:23 AM »
how can we do it ?

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: Show assigned user in calendar view
« Reply #3 on: June 24, 2010, 11:24:52 AM »
In application/views/event you have different files for the different calendar views i.e.
In viewweek5days.php around line 320

Try replacing

Code: [Select]
$objType = 'task';
$subject = clean($event->getTitle());
$divtype = '<i>' . $tip_title . '</i> - ';

with

Code: [Select]
$objType = 'task';
$subject = clean($event->getAssignedToName())  . " - " . clean($event->getTitle());
$divtype = '<i>' . $tip_title . '</i> - ';

Se7en

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Email
Re: Show assigned user in calendar view
« Reply #4 on: June 24, 2010, 11:47:34 AM »
thanks.. i did ;)

 

anything
anything