Hi: This must be sooo simple, yet I can´t figure it out. Groups (OA Groups) are being created at "www.mysite.com/groupname". I want them at " "www.mysite.com/community/groupname". I have set up pathauto to alias group url´s to "www.mysite.com/community/groupname", but the "path" form-element in the Group creation term is the one responsible. This is the code in spaces_og.pages.inc responsible for the Path form element:
// Add purl form. $form['purl'] = purl_form('spaces_og', isset($form['#node']->nid) ? $form['#node']->nid : NULL, isset($form_state['node_preview']) ? $form['#node']->purl['value'] : $form['#node']->purl);4
And in PURL: $form['value'] = array( '#title' => isset($processors[$method]) ? $processors[$method] : '', '#type' => 'textfield', '#description' => $processor->description(), '#size' => 20, '#maxlength' => 255, '#required' => $required, '#default_value' => $value, '#field_prefix' => $method == 'path' ? $base_url .'/' : NULL, );
So the "prefix" is hard-coded... I can override it with a costume modulem, but that only affects the output on the screen. Furthermore, I can´t even fill in the path element with something like "groups_subpath/groupname" as it gives an error. All groups will be at mysite.com/groupname How can I make groups reside in a sub-path?. For example "site.com/community/myGROUPNAME". Even if i intercepted the form´s data to change it, I would probably mess up something with PURL and processors, which I haven´t yet figured out. I´ve been searching for hours, and can´t find an answer!!. This must be soooo basic!.
Thanks in advance.