[rt-users] 3.6.1 Customize SelfService Tabs with full URLs fails

Dale Bewley dlbewley at library.ucdavis.edu
Thu Oct 5 19:36:39 EDT 2006


On RT 3.4.5 I was doing the following to change the link users click 
on to open a ticket. I wish to take them to a 2nd web server with a 
customized form(s).

----8<-- snip --8<--

--- /var/rt/html/SelfService/Elements/Tabs      2005-05-02 10:25:35.000000000 -0700
+++ /usr/local/rt/html/SelfService/Elements/Tabs        2006-04-20 10:33:47.000000000 -0700
@@ -67,7 +67,7 @@
                          path => 'SelfService/Closed.html',
                        },
              C => { title => loc('New ticket'),
-                    path => 'SelfService/CreateTicketInQueue.html'
+                    path => 'http://server.elsewhere.foo/help/'
                     }
            };
 if ($session{'CurrentUser'}->HasRight( Right => 'ModifySelf',

----8<-- snip --8<--

The same change in my install of 3.6.1 prepends $WebURL to the link.

----8<-- snip --8<--

--- /var/www/rt3/SelfService/Elements/Tabs      2006-06-19 15:44:04.000000000 -0700
+++ /usr/local/lib/rt3/html/SelfService/Elements/Tabs   2006-10-04 16:56:44.000000000 -0700
@@ -82,7 +82,7 @@

 if ($queue_count > 1) {
         $tabs->{C} = { title => loc('New ticket'),
-                       path => 'SelfService/CreateTicketInQueue.html'
+                       path => 'http://server.elsewhere.foo/help/'
                        };
 } else {
         $tabs->{C} = { title => loc('New ticket'),

----8<-- snip --8<--


Results in a link like
http://rtserver/rtpath/http://server.elsewhere.foo/help/
How can I like to an absolute URL?
-- 
Dale Bewley - Unix Administrator - Shields Library - UC Davis
GPG: 0xB098A0F3 0D5A 9AEB 43F4 F84C 7EFD  1753 064D 2583 B098 A0F3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20061005/0f462fdd/attachment.sig>


More information about the rt-users mailing list