Jump to content

WPI chekboxes


Recommended Posts

Hi! I'm modifying WPI and I want to know how to do this:

This is the idea:

When I check an app another app must be checked too (for example, when I check "Messenger plus" "Messenger" will be checked). I don't like the dependency apps (deps[pn] and excl[pn] variables), because the thing i want to do is that when an office app the tools would be checked.

I think this is not defined and I supose I must modify "check.js file" to create and define this function... isn't it?

Any help will be welcomed :rolleyes:

Link to comment
Share on other sites


hehehe sorry about my english... I try to explain it better:

in "config.js" file, "deps[pn]" activate a checkbox when other is checked. ok?

well, i want to know how to do something similar: when a checkbox is checked another must be checked too.

I know in "check.js" file is where javascript functions (like deps[pn]) are defined. And I supose in this file I must create a new function to do this...

Oh, and here is the new WPI theme I'm creating :)

post-101111-1152781636_thumb.jpg

Link to comment
Share on other sites

i had another problem

solved there by @sadicq 2 posts below.

i have now entries with grayed conditions true enable for checking

and if i check an entry with "deps[pn]" activate , mother entry is auto-checked.

i dont know if this 2 things are related , but i have only the critical hotfixes (52 entries today)

"deps[pn]" to qchain entry, the hotfixes are already installed , and now

when i have them enabled , when i check one hotfix or category (all hotfixes),

qchain is checked too (qchain is in another category ..).

attention

with same "deps[pn]" , do not work IF mother entry (here qchain) has gcond enable .

with gcond for qchain , i have not auto checked for qchain if i check an entry or all category.

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...