The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
18 views

can i make user specific main menu-tabs that link to views?

am making a website that has over 300 views and their all listed in the navigation menu in a hierarchical format but theres no way any user would be interested in more than 5 of them "max" ... is ...
0
votes
1answer
26 views

How to add a tabbed menu on group main page (panel)?

I managed to get panels working with og 7.x-2.1 following: - http://modulesunraveled.com/organic-groups/part-3-organic-groups-layout - http://www.initsix.co.uk/organic-groups-panels-and-views-drupal-7 ...
1
vote
1answer
39 views

Problem adding a tab to the user menu

I created a panel page using the Panels module, Contact list at the path messages/contact-list. The Privatemsg module causes several tabs (Inbox, Sent messages, All messages) to be displayed across ...
0
votes
0answers
41 views

Dynamic menu for linking view pages?

I've been racking my brain for hours now, so maybe someone here can help me out. I have a content type, let's call it Alpha, that has a set of fields (say, field1,field2,field3,field4) associated ...
0
votes
3answers
40 views

How to display only the menu items and not the parent menu?

I am trying to build on the footer a set of 3 menu links: About us, Terms of Use, Contact. The problem is that I want to have only these 3 links as menus and I do not want their parent menu to be ...
7
votes
1answer
152 views

In views, what is the difference between Normal menu entry, Menu tab and Default menu tab

When adding a menu item in views I see three selections that are ambiguius Normal menu entry Menu tab Default menu tab What is the difference and when would I use each?
0
votes
1answer
34 views

Customized Vertical Menu

I am little bit familiar with drupal but have no idea How to approach this problem. I want to create a menu in the following style with straight continuous lines for each tab. ----- ...
0
votes
2answers
117 views

Regarding menus for authenticated users only

Using Structures/Menus/User Menu in DRUPAL 7 i am adding a custom menu link under it and providing a path to it as node/whatever_my_nid. It is working fine. I have cleared all cache. However this menu ...
1
vote
1answer
58 views

Hide Workflow Tab For Given State

I am developing moderation workflow using Workflow modeule. I have created different states for that. And using rules module I am putting node into one of the state based on certain event. It is ...
1
vote
2answers
92 views

Remove an item from “menu local task”

I need to remove "Create new account" from the tabs on /user page. I was suggested to use hook_menu, but: It seems that hook_menu can only add, not remove items. hook_menu does not work for me as I ...
0
votes
2answers
68 views

Why my hook_menu does not work?

I have this code in the module cleanetica_advanced. function cleanetica_advanced_menu() { $items['ajax/content/%'] = array( 'page callback' => 'cleanetica_advanced_ajax_load', 'page ...
0
votes
2answers
171 views

Drupal 7 How show the node delete tab and put a view in it

I would like to show a 'Delete' tab near 'View' and 'Edit' tabs in the node page and insert a custom warning message and a view in it. If I create a view tab page with path /node/%/delete it works ...
2
votes
1answer
122 views

Create an admin menu in a MENU_LOCAL_TASK

I have added a MENU_LOCAL_TASK to a node. Within that local task I want to display an admin menu block using system_admin_menu_block_page() however I always get You do not have any administrative ...
1
vote
1answer
22 views

Cloning content type edit link

When developing a site I often want to be able to access content type definition from the level of a viewed node representing it. So basically I'd say I'd need a new MENU_LOCAL_TAB with the path ...
0
votes
0answers
34 views

Controlling local task tabs' appearance

I basically find the admin's local task tabs (such as Edit, View, Translate, Devel, etc.) optically distracting and I'm tempted to make their container into a fixed-positioned floating div, sort of a ...
0
votes
0answers
31 views

Display a node in user tab

I want to add a tab under the user page that display a node made by this user (user can only create one node of this specific content type). The url should be like that /user/%uid/myContent . To do ...
2
votes
1answer
153 views

Add first and last classes to local task items in Drupal 7

I'd like to add some classes to local task items, not there are only "active" class available which is pretty not flexible, I'd like to have "first" on first item and "last" on last item. Tried ...
0
votes
0answers
23 views

how to get other menu_local_tasks() and puts on a view page

RT,the same question like How to copy menu local task from a node to another? I want get user/1 page's view,edit... add to blog view page.that's say put user/blog/ like user/1/bookmarks
0
votes
0answers
45 views

D6: Dynamic menu structure / views arguments

I've been struggling to add a context-sensitive menu block to my site. If I am managing a content type "foo", such that I have a number of views pages using arguments, in the form of: ...
0
votes
1answer
38 views

Sidebar Menu like on Myspace (for each profile)

I have several content types. Bio, images, videos etc. for each user. Now i want to have sidebar menu like on Myspace profiles where the menu reacts only to user you are watching. Is there a module ...
1
vote
2answers
145 views

Print primary and secondary tabs separately

I am creating subtheme of bartik theme. According to page.tpl.php file of Bartik theme it shows that tabs can be printed by following code. <?php if ($tabs): ?> <div class="tabs"> ...
0
votes
0answers
41 views

How to dynamically add multiple items to the primary menu?

In my site, users can be members of groups. This is a pretty light-weight, homegrown group system, although I'm using user_relationships for the relationship underpinnings. A user can be a member of ...
0
votes
2answers
240 views

Change name of a tab for a specific content type

I have a content type Organizations which is an OG Group. I would like to change the default tab name "View" only for this OG group(or content type). Tab tamer module helps with it but it does not ...
1
vote
0answers
67 views

Customize menus

I would like to customize the main menu of my website by assign different classes to every li item in the list. I have a standard number of elements in menu. I have the following code in the ...
1
vote
2answers
80 views

Keep the destination argument in when user switch from user login to register?

I have a link for users to click so that they can add a specific node type, and I use a link like below so that if the user isn't logged in, he/she can login and then be redirected to the node form, ...
3
votes
1answer
63 views

Get all current tabs (node view)

How to get all node tabs (MENU_LOCAL_TASK type) which available for current node? I mean node/%/edit, node/%/translate, node/%/devel etc. I've tried to use menu_local_tasks() but it shows only empty ...
0
votes
1answer
94 views

referenced node in primary tabs

I am looking for a way to show a referenced node into the primary tabs menu. I created a content type "fact box" that is referenced to an article. Now i like to have the content type title of the ...
1
vote
1answer
74 views

Is it possible to use a path like that : user/%user/word with MENU_NORMAL_ITEM instead of MENU_LOCAL_TASK

i hope you understood the title of my topic because i have difficulties to express this problem in english. I would like to change the menu item which is a tab (saved searches) and put it on my menu ...
1
vote
1answer
75 views

How to organise children menu links as tabs in D7?

I'm using Drupal 7 and now I have a regular dropdown menu like this: Link 1 sub-link 1 sub-link 2 Link 2 But I would like to organize my sub-links as tabs where sub-link 1 and sub-link 2 would ...
1
vote
0answers
81 views

how to add views a sub menus?

What I want to achieve? I've got a menu with lyrics / blogs, and I want each entry to appear as a sub menu item. example: [Main menu] Blog Dooms day Get to daddy Lyrics ...
0
votes
1answer
90 views

In Activity Stream, how is the 'active group' determined when a node has multiple organic groups assigned to it?

I created new blog node in Drupal commons and assigned it to two organic groups. While it appears under both groups' Blog tab (view group_tab_blogs), it only appears under one group's Home tab but not ...
0
votes
0answers
84 views

Set a title callback on a view tab

I am looking to set a dynamic title for a menu tab that views created. I would normally do this with hook_menu_alter, but the menu entry for the tab does not even show in there. E.g. the ...
1
vote
2answers
138 views

hook_menu() items created in a custom module don't retain the active-trail of the parent tab

So I have a custom module that is adding 3 menu items (a main tab, and 2 sub-tabs). When navigating to the main tab (url: /casereports) the default_local_task is displayed as expected and both menu ...
0
votes
0answers
96 views

Hiding tabs from specific organic groups (when its view contains no content)

In organic group tabs, is there a way to hide the tab if no content is present. For example, some of my groups have active blog users. Others post many documents but do not have blogs. If the return ...
0
votes
3answers
781 views

Using AJAX in menu and menu tab links

I have a few pages with sub pages as tabs. Each pages are in a custom menu. I'd like to convert the menu links to load each page using AJAX, is this possible? I know how to load a page using a ...
0
votes
1answer
138 views

Changing TABS into CONTEXTUAL LINKS

I'm making a module that changes the output from the tabs (View, Edit, ...) into contextual links. The name of my module is "testmodule" and the name of the theme I'm using is "Bartik". When I place ...
0
votes
0answers
55 views

add tabs containing custom fields category for user profiles in drupal 6

I added custom fields in categories for user profiles. all of them are placed in the same page. I want categories to be shown as tabs. I think it was possible with profiletabs in Drupal 5.x but I use ...
0
votes
2answers
119 views

Titles not showing for tabs pages

Below is the array in my hook_menu The only issue that I have with it is that the titles are not displaying for tabs pages (the last three array collections). They are showing the title for the ...
2
votes
4answers
154 views

How to create a tab

I would like to have a tab appear in the view of a node, like the "View, Edit, and in the example shown) the Group Tab. Any ideas? I'm guessing it is going to have to write some custom code. (see ...
2
votes
3answers
165 views

Implementing jQuery-UI tabs

I have all my js files in a folder under my custom theme: htdocs/themes/<mytheme>/js I load all these js files in 'mytheme.info' in this way: scripts[] = js/<script1.js> scripts[] = ...
0
votes
0answers
2k views

Views menu tabs with a dynamic view (Drupal 7, Views 3)

I have built a DYNAMIC VIEW to display city data, broken out as tabs on the page -- it is a modified verion of the taxonomy term page view. It uses view menu tabs for this segregation, and Taxonomy ...
1
vote
2answers
280 views

How to show and hide menu tabs in module

I have created tabs in module for different functions. As per code shown below, all the tabs are shown simultaneouly when I login to the module. But, I want to show specific modules depending on the ...
0
votes
2answers
173 views

user specific menu tab

I have a menu tab on nodes which is visible to everyone on the site. But I want it to be user specific. If the logged in user is the one who created that node, only he should be able to see the menu ...
0
votes
3answers
545 views

How to link up a view created page using hook_menu

I have created a page using view and defined a path for the view. I want to add a tab using MENU_LOCAL_TASK from hook_menu() How can I add a link to the view for the page callback? EDIT I have tried ...
5
votes
1answer
132 views

Adding tabbed content in D7

What module should I use to make a tabbed block bringing views, custom content or forms? For example I want to have a News | Twitter | Facebook | Feedback Which would have a list of news (or a ...
1
vote
1answer
131 views

How to create a menu navigation from views page that uses contextual filters?

I have a projects content type and I want there to be a menu for each project that would have "Project Overview", "Project Details", "Team Members". So in views I created a page at "projects/" which ...
0
votes
1answer
133 views

How to make a panel page the default local task

I've got a custom module providing local tasks like entity/%/edit and I'm trying to get entity/% to show up as the default local task. entity/% is defined as a Panel Page using the panels module. How ...
0
votes
1answer
167 views

how to render links as menu tabs

I have created a block that generates some links. I want to display these links as menu tabs in my website. This is the php code I have written inside block. <?php $current_url = current_path(); ...
4
votes
1answer
392 views

Views Menu Tabs and Ajax?

Is it possible to use menu tabs/default menu tabs available in Views, along with ajax, so that hitting a tab does not load a new page?
2
votes
4answers
2k views

user/%/edit - remove it from tab and make it an actual menu item

I am pretty clueless on how drupal handles such things and I can't seem to grasp the context. I want a menu link to user/%/edit (using menu token already). But as it seems /edit is a 'tab' item of ...

1 2