Closed (won't fix)
Project:
Activity Stream
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 May 2008 at 14:10 UTC
Updated:
21 May 2008 at 06:44 UTC
The tab "Activity Stream" that linked to user/uid/edit/Activity+Stream is secondary and all users cant find it.
Im searching in activitystream.module how can I change from secondary tab to primary tab and i cant find it,probably this option is empty.
Maybe need a small code,like:
$items[] = array(
'path' => 'user/'. arg(1) .'/edit/Activity+Stream',
'title' => node_get_types('name', $type),
'callback' => 'node_page_edit',
'callback arguments' => array($node),
'type' => MENU_LOCAL_TASK,
'access' => user_access('access content'),
);i cant find out how to configure tabs in drupal...
Comments
Comment #1
akalsey commentedI can't imagine a scenario in which a user wouldn't have access to the secondary tasks on their own account.
Comment #2
skullJ commentedI have 10+ feedbacks asking to move this menu item to primary tab menu.
Seriously i dont have any problem with secondary tab menu but more people cant find it. These feedbacks help your module.
I cant find the code that connect the "edit activity stream link" with secondary tab menu and either any help post here.
Can you tell me where code located to find by myself?
Comment #3
akalsey commentedMoving this would break the design conventions of Drupal. The form for editing your settings is part of the "Edit" menu. Having some edit forms as primary menus would make thing confusing for people in general.
If you want to add a link to the edit form elsewhere on your site, it's easy to do. Link to user/$uid/edit/Activity+Stream
The code that generates the form is in activitystream.module
Comment #4
akalsey commented