Hello everybody,<br><br>Finaly I replace in etc/RT_SiteConfig.pm the following line:<br><br>Set($HomepageComponents, [qw(MyResolvedTickets.OLD Quicksearch
OurOpenTickets MyResolvedTickets MyTickets MyClosedTickets
MyModifiedTickets MyAdminQueues MySupportQueues)]);<br><br>by the line <br><br>Set($HomepageComponents, [qw(MyResolvedTickets.OLD Quicksearch MyCalendar
OurOpenTickets MyResolvedTickets MyTickets MyClosedTickets
MyModifiedTickets MyAdminQueues MySupportQueues)]);<br><br>but when I Choose the "Calendar" in the menu "Tickets" it post me the following error :<br><br><p align="center"><font face="Verdana, Arial, Helvetica, sans-serif">
<b>System
error</b></font></p>
<table border="0" cellpadding="1" cellspacing="0">
<tbody>
<tr>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>error:</b> </font></td>
<td align="left" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2">Can't locate object method "today" via package "DateTime" (perhaps you
forgot to load "DateTime"?) at /opt/rt3/share/html/Search/Calendar.html line
136.<br></font></td></tr>
<tr>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>context:</b> </font></td>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>...</b> </font></td>
<td align="left" nowrap="nowrap" valign="top"><br></td></tr>
<tr>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>132:</b> </font></td>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2">my @DateTypes = qw/Created
Starts Started Due LastUpdated Resolved/;</font></td></tr>
<tr>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>133:</b> </font></td>
<td align="left" nowrap="nowrap" valign="top"><br></td></tr>
<tr>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>134:</b> </font></td>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2">my $rtdate =
RT::Date->new($session{'CurrentUser'});</font></td></tr>
<tr>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>135:</b> </font></td>
<td align="left" nowrap="nowrap" valign="top"><br></td></tr>
<tr>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>136:</b> </font></td>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><font color="red">my $today =
DateTime->today;</font></font></td></tr>
<tr>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>137:</b> </font></td>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2">my $date =
RTx::Calendar::FirstMonday($Year, $Month + 1);</font></td></tr>
<tr>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>138:</b> </font></td>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2">my $end =
RTx::Calendar::LastSunday($Year, $Month + 1);</font></td></tr>
<tr>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>139:</b> </font></td>
<td align="left" nowrap="nowrap" valign="top"><br></td></tr>
<tr>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>140:</b> </font></td>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"># use this to loop over
days until $end</font></td></tr>
<tr>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>...</b> </font></td>
<td align="left" nowrap="nowrap" valign="top"><br></td></tr></tbody></table></font></td></tr>
<tr>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>code
stack:</b> </font></td>
<td align="left" nowrap="nowrap" valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2">/opt/rt3/share/html/Search/Calendar.html:136<br>/opt/rt3/share/html/autohandler:279<br></font></td></tr></tbody></table>
<a href="#raw">raw error</a><br><br>please, if someone have any idea how to resolve this problem, I will be very grateful.<br><br><br>Essam<br><br><div><span class="gmail_quote">2007/8/3, Essam EL MESSOUSSI <<a href="mailto:elmessoussi.stage@gmail.com">
elmessoussi.stage@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello everybody,<br><br>I want to install RTx-Calendar-0.04
.<br><br>So to add MyCalendar to $HomepageComponents in etc/RT_SiteConfig.pm, I must add :<br><br>Set($HomepageComponents, [qw(QuickCreate Quicksearch MyCalendar MyAdminQueues MySupportQueues MyReminders RefreshHomepage)]);
<br><br>But when I want to add it, I find :<br><br>Set($HomepageComponents, [qw(MyResolvedTickets.OLD Quicksearch OurOpenTickets MyResolvedTickets MyTickets MyClosedTickets MyModifiedTickets MyAdminQueues MySupportQueues)]);
<br><br>So, what I'm I have to do ? <br><div style="direction: ltr;"><br>Thanks in advance<br><br>Essam<br><br><br></div>
</blockquote></div><br>