Add new configuration HelpURL to provide local documentation to users

This URL gets included as a ‘Help’ link in the main RT navigation menu.
etc/RT_Config.pm.in | 7 +++++++
share/html/Elements/Tabs | 6 ++++++
2 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index 4ad1411…b8252d4 100755
— a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -1748,6 +1748,13 @@ Hide links/portlets related to Reminders by setting this to 0

Set($EnableReminders,1);

+=item C<$HelpURL>
+Set this to a URL providing user documentation on your RT instance
+=cut
+Set($HelpURL, ‘’);

=item C<@Plugins>

diff --git a/share/html/Elements/Tabs b/share/html/Elements/Tabs
index 0e0ab97…ad5e5ee 100755
— a/share/html/Elements/Tabs
+++ b/share/html/Elements/Tabs
@@ -100,6 +100,12 @@ if ($session{‘CurrentUser’}->HasRight( Right => ‘ShowApprovalsTab’,
};
}

+if ( RT->Config->Get(‘HelpURL’) ) {

  • $basetabs->{X} = { title => loc(‘Help’),
  •                   path => RT->Config->Get('HelpURL')
    
  •         };
    

+}
if (!defined $toptabs) {
$toptabs = $basetabs;
}
1.5.6.5

Hello Dominic,

Looks more like a candidate for a local extension RT-Site-MyCompany.
You can inject that menu tab using a callback.On Tue, Mar 30, 2010 at 8:59 PM, Dominic Hargreaves dominic.hargreaves@oucs.ox.ac.uk wrote:

This URL gets included as a ‘Help’ link in the main RT navigation menu.

etc/RT_Config.pm.in | 7 +++++++
share/html/Elements/Tabs | 6 ++++++
2 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index 4ad1411…b8252d4 100755
— a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -1748,6 +1748,13 @@ Hide links/portlets related to Reminders by setting this to 0

Set($EnableReminders,1);

+=item C<$HelpURL>
+
+Set this to a URL providing user documentation on your RT instance
+
+=cut
+
+Set($HelpURL, ‘’);

=item C<@Plugins>

diff --git a/share/html/Elements/Tabs b/share/html/Elements/Tabs
index 0e0ab97…ad5e5ee 100755
— a/share/html/Elements/Tabs
+++ b/share/html/Elements/Tabs
@@ -100,6 +100,12 @@ if ($session{‘CurrentUser’}->HasRight( Right => ‘ShowApprovalsTab’,
};
}

+if ( RT->Config->Get(‘HelpURL’) ) {

  • $basetabs->{X} = { title => loc(‘Help’),
  •                   path => RT->Config->Get('HelpURL')
    
  •         };
    

+}
+
if (!defined $toptabs) {
$toptabs = $basetabs;
}

1.5.6.5


List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel

Best regards, Ruslan.

Looks more like a candidate for a local extension RT-Site-MyCompany.
You can inject that menu tab using a callback.

Thanks. Not sure why I didn’t think of looking for callbacks for
that one :slight_smile:

Dominic.

Dominic Hargreaves, Systems Development and Support Team
Computing Services, University of Oxford

signature.asc (197 Bytes)