Adding items to StarterPack
-----
| Author | Message | |
|---|---|---|
|
Gephri |
||
| Sat Apr 21, 2007 1:38 am Post subject: Adding items to StarterPack | ||
|
I'm in the very early stages of getting the Starter Pack up and running.
When I'm in admin/shop_starterpack_config.tpl I can not get an item in the right-hand box to move over to the left with a click of the buttom - thus my Starter Pack is empty. I'm not sure why the click doesn't do anything for me - except for possible the following code. If you see that this is the prob. then I'll remove the conflict in order to keep your MOD. admin/page/header.tpl Code: <script type="text/javascript" language="javascript" src="./../mods/shopaddons/OptionTransfer.js"></script>
</head> <script type="text/javascript" language="javascript"> <!-- function SetFocus() { var NumElements=document.form.elements.length; for (i=0; i<NumElements;i++) { if (document.form.elements[i].type=="select" || document.form.elements[i].type=="radio" || document.form.elements[i].type=="button" || document.form.elements[i].type=="checkbox" || document.form.elements[i].type=="textarea" || document.form.elements[i].type=="text") { if (document.form.elements[i].value!=" ") document.form.elements[i].select(); document.form.elements[i].focus(); break; } } } --> </script> <body onload="SetFocus(); new_init(document.forms[0])"> If not - any other ideas? |
||
|
Thoul |
||
| Sun Apr 22, 2007 2:11 pm Post subject: Re: Adding items to StarterPack | ||
|
I don't see why that would cause a conflict, but it is possible that it could. Remove it and see if the button works then - if still doesn't, then you can add that code back in.
With that other code removed, you should have: Code: <script type="text/javascript" language="javascript" src="./../mods/shopaddons/OptionTransfer.js"></script>
</head> <body onload="new_init(document.forms[0])"> Also, what browser are you using? I think I only tested this mod in Firefox and IE 6, so it's possible that the Javascript is broken in other browsers. |
||
|
Gephri |
||
| Sun Apr 22, 2007 4:15 pm Post subject: | ||
|
that was the conflict - old friend
sorry to bug you with this because I should have done it on my own (just didnt think it was the prob.) Starter Pack stays - other mod goes. thanks! |
||
Page 1 of 1