Re: How to extend JSGroupings?
I just extended our jsgroupings, and you are close. The array you are trying to edit is actually a multi-dimensional array and that is where your problem lies. To make it easier for you to know which array needs to be modified, I recommend that you copy the contents of the JSGroupings.php to the web root temporarily and add print_r($js_groupings); to the bottom of the script and add a <pre> tag at the top of it and go to it in a browser. That will help you divine which array needs to be modified. On our instance, this is the code that you would put in the jsgroups.ext.php:
Notice the  that I'm using there and also that I'm not using array() anywhere in that. Once you get that, refresh the page that is doing the print_r and make sure it looks right and then delete that temp file.
Sr Software Engineer