vtiger Forum Index vtiger
The Honest Open Source CRM
 

Montly Calendar
Click here to go to the original topic
Goto page 1, 2  Next
 
       vtiger Forum Index -> Usability & Themes - 5.0.4
Previous topic :: Next topic  
Author Message
marcydarcy



Joined: 14 Mar 2008
Posts: 18

Posted: Wed Apr 23, 2008 6:33 am    Post subject: Montly Calendar  

Hi all,

is it possible to extend somehow the detail level of the monthly calendar?
Would be great to see more than just the time. Also the user and so on.
Any way to do it?

Thanks in advance

Marcel
Back to top  
charon



Joined: 03 Aug 2007
Posts: 45

Posted: Wed Apr 23, 2008 3:41 pm    Post subject: Re: Montly Calendar  

I am also thinking about this some time....
Back to top  
Falguni



Joined: 06 Aug 2008
Posts: 17

Posted: Thu Oct 23, 2008 5:04 am    Post subject: Re: Montly Calendar  

Hi,
Open module/calendar/CalendarLayout.php file. Find function getmonthEventLayer(& $cal,$slice) function in it.

if you want to display event title then check $subject = $act[$i]->subject;
and just display it like below in $eventlayer varibale. Just add this code below
<nobr><img src="'.$image.'" border="0"></img>&nbsp;<span class="orgTab">'.$start_hour.' - '.$end_hour.'</span></nobr>

$eventlayer .='<br><b><a href="index.php?action=DetailView&module=Calendar&record='.$id.'&activity_mode=Events&viewtype=calendar&parenttab='.$category.'"><span class="orgTab">'.$subject.'</span></a></b></div><br>

If you want to display event creator name then add this line above $eventlayer code

$username = getUserName($act[$i]->creatorid);
and display $username with $eventlayer varible.

check this and let me know if you have any problem
Back to top  
hermann



Joined: 06 Nov 2008
Posts: 6

Posted: Thu Nov 06, 2008 9:41 am    Post subject: Re: Montly Calendar  

hi falguni,

i try to modify the php file but after my changes it doesn't work and i receive following message

syntax error, unexpected T_STRING in /vtiger/modules/Calendar/calendarLayout.php on line 1242

please can you take a look or make a screenshot of your working solution?

THX in advance

regards

//hermann
Back to top  
Falguni



Joined: 06 Aug 2008
Posts: 17

Posted: Thu Nov 06, 2008 10:11 am    Post subject: Re: Montly Calendar  

Hi hermann,
I have attached my monthly calendar view. If you are getting problem in code then attach CalendarLayout.php file, I will check into code and give it to you.
Back to top  
hermann



Joined: 06 Nov 2008
Posts: 6

Posted: Thu Nov 06, 2008 11:46 am    Post subject: Re: Montly Calendar  

hi falguni,

thanks a lot for the quick answer and the help.
i attached the file. if you can give me a tip in which kind of way i can realize the correction it will be really great.

THX a lot

//hermann
Back to top  
hermann



Joined: 06 Nov 2008
Posts: 6

Posted: Thu Nov 06, 2008 11:48 am    Post subject: Re: Montly Calendar  

here the file
Back to top  
Falguni



Joined: 06 Aug 2008
Posts: 17

Posted: Thu Nov 06, 2008 11:51 am    Post subject: Re: Montly Calendar  

Sorry hermann but I didn't get any file
Back to top  
hermann



Joined: 06 Nov 2008
Posts: 6

Posted: Thu Nov 06, 2008 1:22 pm    Post subject: Re: Montly Calendar  

excuse me....
Back to top  
Falguni



Joined: 06 Aug 2008
Posts: 17

Posted: Thu Nov 06, 2008 1:24 pm    Post subject: Re: Montly Calendar  

I mean there is no file attached in your last mail. Please attached it again so I can help you.
Back to top  
 
       vtiger Forum Index -> Usability & Themes - 5.0.4 Goto page 1, 2  Next
Page 1 of 2


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.15 © 2001, 2002 phpBB Group