ehiwaz Posted July 11, 2006 Share Posted July 11, 2006 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 Link to comment Share on other sites More sharing options...
oneless Posted July 12, 2006 Share Posted July 12, 2006 Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted July 13, 2006 Share Posted July 13, 2006 Link to comment Share on other sites More sharing options...
ehiwaz Posted July 13, 2006 Author Share Posted July 13, 2006 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 Link to comment Share on other sites More sharing options...
oneless Posted July 13, 2006 Share Posted July 13, 2006 i had another problemsolved there by @sadicq 2 posts below.i have now entries with grayed conditions true enable for checkingand 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 nowwhen i have them enabled , when i check one hotfix or category (all hotfixes),qchain is checked too (qchain is in another category ..).attentionwith 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now