Closed (fixed)
Project:
Activity Stream
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2008 at 20:05 UTC
Updated:
31 Jul 2008 at 17:32 UTC
Fixes errors when submitting the form on user/*/edit/Activity Stream
notice: Undefined index: profile_activitystream_placeholder in /public_html/modules/profile/profile.module on line 436.
notice: Undefined index: profile_activitystream_placeholder in /public_html/modules/profile/profile.module on line 244.
In order to do this I'm using hook_user($op = 'category') to define the "Activity Stream" category for a users account. This removes dependency on profile.module, and still creates the appropriate category for activitystream sub-modules to place their settings fields into.
As such I've also removed the profile.module related code in activitystream.info and activitystream.install
| Comment | File | Size | Author |
|---|---|---|---|
| actvitystream-remove_profile_dependency.patch | 2.71 KB | eojthebrave |
Comments
Comment #1
akalsey commentedBeautiful. Getting tabs into the user edit screens was non-obvious, so I used a hack. Your way is WAY better. Ported to 5.x and committed. In addition to your patch, I added an update hook that will delete the useless dummy field.
Comment #2
akalsey commentedApplied to 6.x with the addition from comment #1
Comment #3
akalsey commented