RTx::Calendar Not Displaying

I’ve installed and configured RTx::Calendar per the instructions and
restarted the web server but don’t see any links to it anywhere. I
have syslogging set to debug but no errors are logged.

Here are the relevant settings from RT_SiteConfig.pm:

Calendar Plugin

require ‘/usr/local/rt3/local/plugins/RTx-Calendar/lib/RTx/Calendar.pm’;
Set($HomepageComponents, [qw(QuickCreate Quicksearch MyCalendar
MyAdminQueues MySupportQueues MyReminders RefreshHomepage)]);

enable all plugins

Set(@Plugins,qw(
RT::Authen::ExternalAuth
RTx::Calendar
));

Any ideas what I’m missing?

Thanks much-

Lee

Lee Hughes wrote, On 12/29/10 7:01 PM:

I’ve installed and configured RTx::Calendar per the instructions and
restarted the web server but don’t see any links to it anywhere. I have
syslogging set to debug but no errors are logged.

Here are the relevant settings from RT_SiteConfig.pm:

Calendar Plugin

require ‘/usr/local/rt3/local/plugins/RTx-Calendar/lib/RTx/Calendar.pm’;
Set($HomepageComponents, [qw(QuickCreate Quicksearch MyCalendar
MyAdminQueues MySupportQueues MyReminders RefreshHomepage)]);

enable all plugins

Set(@Plugins,qw(
RT::Authen::ExternalAuth
RTx::Calendar
));

Any ideas what I’m missing?

Did you clear the Mason cache?

rm -rf /usr/local/rt3/var/mason_data/obj/*

See http://requesttracker.wikia.com/wiki/CleanMasonCache for details.

I cleared the Mason cache but still don’t see any Calendar links.
Where should I see links, and how would I go about enabling basic
tracing to see if the Calendar module is even being called?

BTW this is with RT 3.8.8 on PostgreSQL 9.

Thanks much for the help.

Lee

I cleared the Mason cache but still don’t see any Calendar links.
Where should I see links, and how would I go about enabling basic
tracing to see if the Calendar module is even being called?

You didn’t say where you looked for the calendars.
Did you try editing your homepage to include the MyCalendar widget?
Did you do a search and look for the calendar link?

-kevin

MyCalendar is included in $HomepageComponents (below) but nothing
related to Calendar appears on the homepage. In fact, if I comment out
the $HomepageComponents line completely and restart the web server,
the homepage still looks the same, even if I clear my browser cache.
How could that be?

I have the ExternalAuth plugin configured in the same RT_SiteConfig.pm
file (below) and it is working fine.

Search on “Calendar” and “calendar” shows no results.

Are there any screenshots of what the Calendar links/pages should look like?

Is it possible to insert debug statements somewhere to verify that the
Calendar plugin is actually getting called?

Thanks very much for the help.

Lee

MyCalendar is included in $HomepageComponents (below) but nothing
related to Calendar appears on the homepage. In fact, if I comment
out the $HomepageComponents line completely and restart the web
server, the homepage still looks the same, even if I clear my
browser cache. How could that be?

Just adding it to HomepageComponents doesn’t make it show up on your
homepage, it makes it available. You need to click on Preferences ->
RT at a Glance

-kevin

Enabling MyCalendar under Preferences > RT at a Glance, and fixing
missing file/directory permissions for the plugin, did the trick.
Calendar now displays on RT at a Glance (Home) and Edit Query >
Advanced > Calendar.

Thanks very much for everyone’s help.

Lee

MyCalendar is included in $HomepageComponents (below) but nothing
related to Calendar appears on the homepage. In fact, if I comment
out the $HomepageComponents line completely and restart the web
server, the homepage still looks the same, even if I clear my
browser cache. How could that be?

Just adding it to HomepageComponents doesn’t make it show up on your
homepage, it makes it available. You need to click on Preferences ->
RT at a Glance

-kevin

I have the ExternalAuth plugin configured in the same
RT_SiteConfig.pm file (below) and it is working fine.

Search on “Calendar” and “calendar” shows no results.

Also note that this is searching for tickets that are about calendars.
You should see a link to the calendar from the tickets search results
page alongside other display formats like spreadsheet and chart.

Shawn

Good point Shawn: there is a Calendar link at the top of the Search
Results page, along with Edit Search, Graph, etc, and it shows the
filtered results in a Calendar format. Interestingly though, sometimes
it shows the task details in a hover-over box, other times it embeds
the details right in the calendar. Refreshing the page a couple of
times brings the hover-over back. The Calendar link itself doesn’t
always appear either and I have to refresh a time or two to see it.
Any ideas what would cause that?

Thanks much-

Lee