Assign Background color to Test Project.

The release related discussions, plans and questions.
Locked
typing82
TestLink user
Posts: 9
Joined: Mon Jan 07, 2008 12:43 am

Assign Background color to Test Project.

Post by typing82 »

How to assign background color to Test project that I have created?? I read through the user manual, and it says can be assigned but it did not mention how.
sdm
Advanced user
Posts: 16
Joined: Mon Nov 12, 2007 8:04 am

Post by sdm »

Put the following in custom_config.inc.php

define('TL_TESTPROJECT_COLORING','background');
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

I discourage you to do this, because you will get ugly effects depending color you will use
typing82
TestLink user
Posts: 9
Joined: Mon Jan 07, 2008 12:43 am

Post by typing82 »

sdm wrote:Put the following in custom_config.inc.php

define('TL_TESTPROJECT_COLORING','background');
Hi SDM,
thanks.
let say i have 3 projects namely STAR, MOON, and SUN. I will put the following??

define('TL_STAR_COLORING','background');
define('TL_MOON_COLORING','background');
define('TL_SUN_COLORING','background');
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

NO.
Please read comments inside config* files before start asking for help.
Please do some effort on your own (at least IMHO)
typing82
TestLink user
Posts: 9
Joined: Mon Jan 07, 2008 12:43 am

Post by typing82 »

fman wrote:NO.
Please read comments inside config* files before start asking for help.
Please do some effort on your own (at least IMHO)
You should mention it in the user manual. I dont even know what and where to look for in order to make a change on the color. I come to this forum to search for the answer by looking through every post because there is no such thing as POST SEARCHING.
What the forum for if you ask us to find by ourself. I hope not to flood this forum though. I have tried despite your discouragement on doing this but I dont see any ugly effects upon selecting a test projects.
schlundus
TestLink user
Posts: 13
Joined: Sat Nov 26, 2005 8:03 pm

Post by schlundus »

Hello,
search
config.inc for something like this define('TL_TESTPROJECT_COLORING','none');
and change
it to
define('TL_TESTPROJECT_COLORING','background');

Then it's possible to define the background color, on the "Test Project Management " page
typing82
TestLink user
Posts: 9
Joined: Mon Jan 07, 2008 12:43 am

Post by typing82 »

schlundus wrote:Hello,
search
config.inc for something like this define('TL_TESTPROJECT_COLORING','none');
and change
it to
define('TL_TESTPROJECT_COLORING','background');

Then it's possible to define the background color, on the "Test Project Management " page
brilliant.. no more questions. thx
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

What you see as brilliant, is not having going to search on the config* files
as I've suggested in previous post. Layz approach IMHO
typing82
TestLink user
Posts: 9
Joined: Mon Jan 07, 2008 12:43 am

Post by typing82 »

It is a layz approach by answering "Have you read the user manual?" or "Have you read config files?".

The forum is suppose for discussions and asking questions among users. I expect the forum could provide some better informations other than the config files. some of the comments in the file are not clear.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

1. Disagree No lazy approach on answering.
2. Please signal what info is not clear, this can help other users. => collaborative approach
Locked