Jump to content

WPI | Customizing


Recommended Posts

i still need to have program check boxes enabled even gcond is true.

the code is changed and the @sadicq's trick must be renewed properly .

Open boxes.js , find and delete

    if (DoGray)

    txt += (' disabled');

(old trick)
Link to comment
Share on other sites


thank you @sadicq . this work . i have check boxes with gcond=true enabled again.

BUT (always must be a but) i havent anymore gcond color for ALL my entries with gcond=true

(they change to selected color when selected)

anyway , before that change , i havent gcond color for my entries with deps enabled ?!

this is a bug in my opinion , new in 5.3.

i have only the 56 critical hotfixes (today) with deps[pn]=['QCHAIN'];

none have gcond color, they have normal color. (cannot select them, before above change)

other entries with gcond=true and without deps enabled have gcond color.

Link to comment
Share on other sites

The solution @sadicq supplied is the only change that needs to be made. Make sure that there is a gtxt class in the wpi.css file of your theme. You can change the color of the gcond entries there.

.gtxt
{
font-family: arial;
font-weight: bold;
color: #A0522D; //<----- Change this value
font-size: 8pt;
margin-left: 5px;
margin-right: 10px;
}

Link to comment
Share on other sites

i wrote above ,

... other entries with gcond=true and without deps enabled have gcond color.
so , the gcond color is vanished by the change, gcond colour entry exist in wpi.css .

also i wrote

... before that change , i havent gcond color for my entries with deps enabled ?!
Link to comment
Share on other sites

my config.js .

all entries have cond's ,

part of them have gcond enabled

(from those only my 56 critical hotfixes already installed have both : gcond and deps enabled).

1 use for every critical hotfix 2 entries (each entry in different category),

one with gcond+deps (for installed hotfixes)

other only with deps (for UNinstalled hotfixes)

i use different categories because,

i want the uninstalled hotfixes in separate category for check them all more easy

config_oneless.js

Link to comment
Share on other sites

Holy cow! After about 5 hours of messing with it I finally figured it all out. Grayed color is back like it should be. What a pain in the butt!!! All due to the new chktxt class.

I also added a check box option in Options -> Installer:

If grayed condition is true, disable the check box

This will take care of having to manually change the code.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...