[rt-users] Add custom web page to RT 4.0.5

ikeusmaximus mgarman at peakehealthcare.com
Thu Jul 19 17:46:29 EDT 2012

Ruslan Zakirov-2 wrote:
> On Wed, Jul 18, 2012 at 2:50 PM, ikeusmaximus
> <mgarman at peakehealthcare.com> wrote:
>> Greetings All,
>> I am wondering if it is possible to essentially add an additional web
>> page
>> to RT. I have been pouring over wiki's and RT documentation for a few
>> days
>> now and I am no closer to finding an answer.  I know that a Callback can
>> be
>> used to modify parts of the Web GUI (like the Left Navigation Bar...thank
>> you Kevin Falcone-2), but since I want to create a web page, a Callback
>> will
>> not work as it modifies existing web pages/Elements.
>> The web page is really only a listing of a directory, but we would like
>> it
>> if we could essentially put the RT wrapper (nav bars and such) around it
>> so
>> that it is easier to navigate between that page and the rest of RT.  Is
>> this
>> possible?
> What is the problem? Put the following into share/html/MyPage.html:
> <& /Elements/Header, Title => "my title" &>
> <& /Elements/Tabs &>
> <& /Elements/ListActions &>
> That's it. Just point you browser to /MyPage.html under RT's web URL.
> More examples you can get from any RT's .html file. Use callbacks in
> /Elements/Tabs to add link to the page.
>> Thanks
>> --
>> View this message in context:
>> http://old.nabble.com/Add-custom-web-page-to-RT-4.0.5-tp34178695p34178695.html
>> Sent from the Request Tracker - User mailing list archive at Nabble.com.
> -- 
> Best regards, Ruslan.

Thanks for the quick reply Ruslan.  I have created the page and it is
displaying nicely.  The only problem now is that I cannot add any content to
the page.  I have looked at many different .html files in the surrounding
directories but I cannot seem to get any content to show.  I have copied
certain .html files (such as /Search/Simple.html, primarily because it
"simply displays text") and have experimented with removing bits of content
piece by piece (such as the code for the search box and button), but the
original content still remains.  

At the risk of sounding extremely dense how can I get my content to display? 
I eventually want the page to show the contents of a specific directory
stored locally on the same server (which I plan to do code from a php
module). But seeing how I cannot even get some plain text to appear when I
want it to, it would seem that would be the place to start.  Thanks,

P.S.  I have noticed many perl (I think they are perl) commands throughout
the .html files.  Some are preceded by the "%" character.  Is this the perl
equivalent of "commenting out code?"

View this message in context: http://old.nabble.com/Add-custom-web-page-to-RT-4.0.5-tp34178695p34187093.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.

More information about the rt-users mailing list