View Full Version : need help editing a file
jason102178
08-30-2008, 04:58 AM
hey i was wondering if someone could help me out i had came across a persons os ticket page and they had it completly customized at the bottom it said the name of there domain and at the top it said there domain instead of os support ticket i was wondering what file do i edit to change this also what file do i edit to change the color of os ticket from orange to another color he had his red
Corey
08-30-2008, 05:51 AM
hey i was wondering if someone could help me out i had came across a persons os ticket page and they had it completly customized at the bottom it said the name of there domain and at the top it said there domain instead of os support ticket i was wondering what file do i edit to change this also what file do i edit to change the color of os ticket from orange to another color he had his red
To change the colors you would edit this file: /styles/colors.css.
To change the footer you would edit this file: /include/client/footer.inc.php.
As far as the top you can edit that by editing your "Helpdesk Name/Title:" in the admin panel. You can also edit that file here: /include/client/header.inc.php.
jason102178
08-30-2008, 12:30 PM
thanks for the help i found where everything is located except im having troubles changing the color of the buttons to like red were at in the color code would i change for that
jason102178
08-30-2008, 01:59 PM
heres exactly how i want mine to look but the image at the top of his is gone that says ostickt and stuff it just has his website in red as well as buttons ive changed some coding to change the color of the orange but it didnt work theres so much to change im not sure which one heres the link of the one how i want mine to look like http://www.sdhinternet.co.uk/support/
/* default text and background colors */
body {
color:#333;
background-color: #fff;
background-image: url(../images/bg.gif);
background-repeat: repeat;
}
/* default link color */
a { color:#006699; text-decoration: none; }
/* default link hover color */
a:hover { color:#FF0000; text-decoration: none; }
#container {
background:#fff;
border-color:#ccc;
}
#loginform, #ticketform {
background:#f1f1f1;
border-color:#ccc;
}
/* bottom border of header */
#header {
border-color:#000;
}
/* "SUPPORT TICKET SYSTEM" default text */
#header p {
color:#666;
}
/* "SUPPORT TICKET" color */
#header p span {
color:##FF0000;
}
/* top nav background and bottom border */
#nav {
background:#f1f1f1;
border-color:#ccc;
}
/* nav link color */
#nav li a {
color:#006699;
font-weight:bold;
}
/* nav link hover color */
#nav a:hover {
color:#fe7700;
}
/* footer background and border */
#footer {
background:#f1f1f1;
border-color:#ccc;
}
/* Headings */
h1 {
color:#fe7700;
}
h2 {
color:#333;
}
h3 {
color:#666;
}
/* Data Table */
table.tgrid {
border-left: 1px solid;
}
table.tgrid td {
border:1px solid;
border-top:none;
border-left:none;
}
table.tgrid th {
color: #FFF;
font-size: 12px;
font-weight:bold;
}
table.tgrid, table.tgrid td, table.tgrid th {
border-color:#ADADAD;
}
/* Table headings */
table.tgrid th {
background:#ADADAD;;
color:#FFF;
}
table.tgrid th a, table.tgrid th a:hover {
color:#FFF;
text-decoration:underline;
}
/* row highlighting on hover */
.tgrid tr:hover td { background-color: #FFFFDD; }
/* Alt rows used on most data tables */
.row1 { background-color: #F4FAFF; }
.row2 { background-color: #FFFFFF; }
/* auto-highlight */
.row1.highlight td,.row2.highlight td {
background-color: #FFFFDD;
}
/* mesages, warning and errors */
.error {
color: #FF0000;
}
.msg {
color:#006699;
}
#infomessage {
background-color: #390;
border-color: #390;
color: #390;
background: #CFC;
}
#errormessage {
border-color: #903;
background-color: #fcc;
color: #903;
}
#warnmessage {
border-color: #fad163;
background-color: #fdedc1;
}
/* Input buttons/submits colors*/
.button {
background-color: ##FF0000;
color: #FFF;
border-color: #666;
}
/* Assorted number of tables used on view ticket.*/
table.infotable td, table.infotable th {
background-color: #F4FAFF;
}
table.infotable th {
font-weight:bold;
text-align:left;
padding-left:3px;
}
/* Response & message background */
table.message, table.response {
border-color:#ADADAD;
}
/* Message title */
table.message th {
background-color: #C3D9FF;
}
/* Response title */
table.response th {
background-color: #FFE0B3;
}
/* message & response header */
table.message tr.header td, table.response tr.header td {
background-color: #EFEFEF;
border-color:#ccc;
}
/* table cells bg */
table.message td, table.response td {
background-color: #FAFAFA;
}
jpowers40828
08-30-2008, 06:22 PM
What I did when changing the color screen was look for a free program that you can click on the screen and it will tell you the color code. Color Detector 1.01 (http://www.download.com/Color-Detector/3000-2192_4-10396800.html?tag=mncol&cdlPid=10396801)
I think thats the one I used. Then you can search through the css file for the color to find it quickly. The buttons and icons are image files though. You'll have to edit them to change the color. I used photoshop and just adjusted the hue until it was close.
jason102178
08-31-2008, 11:48 PM
hi thanks for the comment i found out what i wanted to do and everything is ok i wanted to edit the pictures on the main page of my osticket the only thing i cant figure out is how to change the color if you look at the osticket on the top right corner part of the letters says support ticket and that part is orange then the system part is gray the only code i found is this but it doesnt tell you the colors
<p><span>SUPPORT TICKET</span> SYSTEM</p>
</div>
<ul id="nav">
jpowers40828
09-02-2008, 12:50 AM
look in styles/colors.css
#header p (
color:#666; /* gray */
}
#header p span (
color: #fe7700; /* orange */
}