[rt-users] Custome Page will not display properly (PHP)
ikeusmaximus
mgarman at peakehealthcare.com
Mon Aug 20 12:41:32 EDT 2012
Greetings all,
I am attempting to create a custom page that will serve as a directory
listing for a few folders that contain reports generated through BIRT.
I have already modified the left-side navigation bar, and I have also gotten
to the point when I can make the new custom page display all the RT bars and
interface. The issue is that the page will not display properly when the
php code for listing the directory is put in. Only the raw code displays on
the webpage, not the contents of the directory.
The php code (along with HTML for the page) consists of approximately 8 php
functions which are all contained inside the <?php and ?> tags. I have
tested the code without the RT commands at the top of the file:
<& /Elements/Header, Title => loc("Analytics") &>
<& /Elements/Tabs &>
<& /Elements/ListActions &>
and the code works fine. It is only when I add these three lines does the
php not work.
The code has been placed in ".index.php" (which is the index file for the
custom page) and that file is located in the parent directory for all the
reports. This directory is not under the RT source, a symbolic link has
been created to point to the .index file from within the RT source.
Any ideas on how to get the php to work properly?
--
View this message in context: http://old.nabble.com/Custome-Page-will-not-display-properly-%28PHP%29-tp34325389p34325389.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
More information about the rt-users
mailing list