I'm successfully using the 7.x dev version of activity stream on a site and I've written an addon module for tumblr for 7.x which is working (I will release it when I can refine it and test it more).

I'm trying to use hook form alter in a custom module to change some of the form attributes for the other addon modules (like activitystream_twitter or activitystream_flickr). I want to adjust some basic stuff on the user tab like

'#weight' => 5,
'#collapsible' => FALSE,
'#collapsed' => FALSE,

Which form should I alter? I tried using the following and it took the weight, but it seems the other properties are not available or being set elsewhere.

function mymodule_form_user_profile_form_alter(&$form, &$form_state){}
$form['activitystream_twitter'] = array(
'#weight' => 5,
'#collapsible' => FALSE,
'#collapsed' => FALSE,
);

Comments

morbus iff’s picture

Status: Active » Fixed

In 7.x-3.x, you'd alter hook_form_activitystream_accounts_form_alter().

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.