ok, So here is what I want to do.
I want to add more "Drop-Down" options to the "Source" field.
So Far;
-I have add the "enum" information to the "ost_ticket" Table for the "Source" field which now reads as:
ENUM('Web','Email','Phone','Walkie','P2P_Conv','Discovery','Principal','Other')
-I edited the "tickets.php" file from the "\scp" folder, which reads out as:
$_POST='Ticket created by staff';
if(!$_POST)
$errors='Summary of the issue required';
if($_POST && !in_array(strtolower($_POST),array('Web','Email','Phone','Walkie','P2P_Conv','Discovery','Principal','Other')))
$errors='Invalid source - '.$_POST;
But after all that I go to the "New Tickets" link and nothing has changed :( and I can't even use the default options that have stayed there. It just gives me an error when i hit submit.
I Tried viewing the html source from "FireFox" and saving as a new file. I then edited the area which displays as: (Edit's not shown, but I just repeated the pattern with the other options i wanted)
Ticket Source:
Select Source
Phone
Email
Other
*
Which worked!! visually :( I could see the new options but essentially it was a dead page when I replaced the "tickets.php" with the new edited html (I assume) page.
Since these changes I have renamed the files and put back the originalls so I can still have a functional ticket system, but I would really like to have those options.
What am I missing? :
Thanks,
-Bill