Installed extension not working

For the life of me, I can’t figure out why RTx::Calendar is not showing up.
I have installed it with cpan, cleared the mason cache, added the Plugin();
line, and restarted the web server. However, the extension is not showing
up in my GUI. Any ideas?

View this message in context: http://requesttracker.8502.n7.nabble.com/Installed-extension-not-working-tp61711.html

Le 14/04/2016 16:19, pelotek a �crit :

For the life of me, I can’t figure out why RTx::Calendar is not showing up.
I have installed it with cpan, cleared the mason cache, added the Plugin();
line, and restarted the web server. However, the extension is not showing
up in my GUI. Any ideas?

Did you added the component “MyCalendar” in $HomepageComponents.

You should then be able to show display this calendar component in
you’re “RT at a glance” configuration or in a dashboard.

Easter-eggs Sp�cialiste GNU/Linux
44-46 rue de l’Ouest - 75014 Paris - France - M�tro Gait�
Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76
mailto:elacour@easter-eggs.com - http://www.easter-eggs.com

Hi Emmanuel, when I add that line to the RT_SiteConfig.pm, I get the message
“Invalid portlet Dashboards” after restarting the webserver.

View this message in context: http://requesttracker.8502.n7.nabble.com/Installed-extension-not-working-tp61711p61715.html

Le 14/04/2016 16:56, pelotek a �crit :

Hi Emmanuel, when I add that line to the RT_SiteConfig.pm, I get the message
“Invalid portlet Dashboards” after restarting the webserver.

copy/paste here you’re config (without sensitive informations!)

Easter-eggs Sp�cialiste GNU/Linux
44-46 rue de l’Ouest - 75014 Paris - France - M�tro Gait�
Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76
mailto:elacour@easter-eggs.com - http://www.easter-eggs.com

Any configuration directives you include here will override

RT’s default configuration file, RT_Config.pm

To include a directive here, just copy the equivalent statement

from RT_Config.pm and change the value. We’ve included a single

sample value below.

This file is actually a perl module, so you can include valid

perl code, as well.

The converse is also true, if this file isn’t valid perl, you’re

going to run into trouble. To check your SiteConfig file, use

this command:

perl -c /path/to/your/etc/RT_SiteConfig.pm

You must restart your webserver after making changes to this file.

You must install Plugins on your own, this is only an example

of the correct syntax to use when activating them:

Plugin( “RT::Extension::SLA” );

Plugin( “RT::Authen::ExternalAuth” );

Plugin( ‘RT::Extension::CustomField::HideEmptyValues’ );
Plugin( ‘RT::Extension::CustomFieldsOnUpdate’ );
Plugin( ‘RT::Extension::MergeUsers’ );
Plugin( ‘RT::Extension::QuickUpdate’ );
Plugin( ‘RT::Extension::ResetPassword’ );
Plugin( ‘RTx::Calendar’ );

Set( $CommentAddress, ‘’ );
Set( $CorrespondAddress, ‘’ );
Set( $DatabaseHost, ‘’ );
Set( $DatabaseName, ‘’ );
Set( $DatabasePassword, ‘’ );
Set( $DatabasePort, ‘’ );
Set( $DatabaseRequireSSL, ‘’ );
Set( $DatabaseType, ‘’ );
Set( $DatabaseUser, ‘’ );
Set( $HomepageComponents, [qw(MyCalendar)] );
Set( $Organization, ‘’ );
Set( $OwnerEmail, ‘’ );
Set( @ReferrerWhitelist, qw());
Set( $SendmailPath, ‘’ );
Set( $WebDomain, ‘’ );
Set( $WebPort, ‘’ );
Set( $rtname, ‘’ );
Set( $SendmailArguments, ‘’ );
Set( $OwnerEmail, ‘’ );
Set( $LogToFile, ‘’ );
Set( $LogDir, ‘’ );
Set( $LogToFileNamed, ‘’ );

Set(%CustomFieldGroupings,
‘RT::Ticket’ => [
]
);
1;

View this message in context: http://requesttracker.8502.n7.nabble.com/Installed-extension-not-working-tp61711p61719.html

Le 14/04/2016 21:03, pelotek a �crit :

Set( $HomepageComponents, [qw(MyCalendar)] );

You must take the default value un RT_Config.pm, copy it here and add
MyCalendar to it!

Easter-eggs Sp�cialiste GNU/Linux
44-46 rue de l’Ouest - 75014 Paris - France - M�tro Gait�
Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76
mailto:elacour@easter-eggs.com - http://www.easter-eggs.com

I’ve replaced it with

Set( $HomepageComponents, [ qw(QuickCreate Quicksearch MyAdminQueues
MyCalendar MySupportQueues MyReminders RefreshHomepage Dashboards
SavedSearches FindUser) ] );

but MyCalendar still doesn’t show up

View this message in context: http://requesttracker.8502.n7.nabble.com/Installed-extension-not-working-tp61711p61721.html

Le 14/04/2016 21:52, pelotek a �crit :

I’ve replaced it with

Set( $HomepageComponents, [ qw(QuickCreate Quicksearch MyAdminQueues
MyCalendar MySupportQueues MyReminders RefreshHomepage Dashboards
SavedSearches FindUser) ] );

but MyCalendar still doesn’t show up

where did you look for it?

Easter-eggs Sp�cialiste GNU/Linux
44-46 rue de l’Ouest - 75014 Paris - France - M�tro Gait�
Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76
mailto:elacour@easter-eggs.com - http://www.easter-eggs.com

Your reply made me realize that I hadn’t put that portlet on a dashboard or
on RT at a Glance. I knew the issue was probably something easy that I
didn’t think of. I was able to put the portlet on the dashboard and it’s
working now. Thanks for your help!

View this message in context: http://requesttracker.8502.n7.nabble.com/Installed-extension-not-working-tp61711p61728.html

Le 15/04/2016 02:54, pelotek a �crit :

Your reply made me realize that I hadn’t put that portlet on a dashboard or
on RT at a Glance. I knew the issue was probably something easy that I
didn’t think of. I was able to put the portlet on the dashboard and it’s
working now. Thanks for your help!

you’re welcome :slight_smile:

Easter-eggs Sp�cialiste GNU/Linux
44-46 rue de l’Ouest - 75014 Paris - France - M�tro Gait�
Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76
mailto:elacour@easter-eggs.com - http://www.easter-eggs.com

Unfortunately, now it’s only partially working. I have the portlet on the
dashboard but the link is not showing up under “search”. Tickets show up on
the portlet and the information is displayed correctly, but there is no way
for me to create searches for the calendar or display a larger calendar.
The help page is also missing (should be under /Prefs/Calendar.html).

View this message in context: http://requesttracker.8502.n7.nabble.com/Installed-extension-not-working-tp61711p61747.html

Any ideas how I can get this working correctly?

View this message in context: http://requesttracker.8502.n7.nabble.com/Installed-extension-not-working-tp61711p61770.html