The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
8 views

Menu tabs disappear if clicking on custom tab

I am adding a custom menu tab to a user profile. That works fine, but once I click on the tab the other menu tabs (edit, view, etc.) disappear. How can I keep the other menu tabs? function ...
2
votes
2answers
127 views

hook_menu_alter in Drupal 8

I want to change the menu type in Drupal 8. In Drupal 7 we can achieve this using hook_menu_alter function module_menu_alter(&$items) { $items['admin/config/people/ip-blocking/default'] = ...
1
vote
1answer
28 views

Adding a tab to the login page

On the Login page, there are 3 tabs i.e. "Create new account", "Log in", and "Request new password". Are there modules out there that let us add more? If not, how can I achieve this manually? Cheers
0
votes
3answers
41 views

Creating a menu tab

I'm using Drupal-8.0.1. And I have been developing one custom module. In that module, I have created a custom form that to be shown in the path admin/config/people/ban/settings. By default when we ...
1
vote
1answer
22 views

Additional tab in custom module's admin configuration page

Can't figure out why two admin pages of my custom module are not showing in different tabs. I've disabled and re-enabled the module, cleared cache, however while both pages are accessible and I see ...
0
votes
1answer
53 views

How to Display “Tabbed” content from Views in Panel / Pane in Node Template

I would like to add a pane with tabbed content to a specific content type/Product display. Using the guidance provided on drupal.org/node/2209747, I built a series of tabbed content in Views, using ...
0
votes
0answers
20 views

New “view template” theme is not overriding the old theme for administrator in the menu-tab view?

I'm trying to add user's current points as a field to user index view table. I have added a field Indexed User: User ID (points) in the view and written below code in it's corresponding theme ...
0
votes
0answers
17 views

how to alter the tabs for a particular role using tab_tamer module in drupal 7?

I want Hide a tab from profile menu against specific User Role.How we can do it ? is it possible using 'tab_tamer'(https://www.drupal.org/project/tabtamer) module? can anyone help me to do this?
0
votes
1answer
34 views

How To add user name and profile picture to Superfish menu

I am using Superfish module to obtain drop down menus. I would like to have one parent menu link as a username and user image, then child menu links will be under it when hovered over. Example of ...
0
votes
1answer
34 views

User profile tabs only for current user

On my user profile I have various tabs (view, my bookmarks, translate, ...). the problem ist, those tabs should only be visible for profile owner and not if I visit another profile. Some of those ...
0
votes
0answers
8 views

wrong Menus not going to 404 page [duplicate]

I have created custommenu in drupal www.example.com/helpcentre and using views also i have created some paths menus. like www.example.com/blog www.example.com/in-the-news My question is? i am ...
0
votes
0answers
17 views

Add one or more tabs to Drupal Commons Home Page

I'd like to know how to add one or more tabs in the Home page in the What's going on? tabs (All, Posts, Q&A etc...). I need one tab for adding text with the full text editor, and one for ...
0
votes
1answer
24 views

Render tabs as vertical tree

How do I render $tabs used in page.tpl.php, not horizontally, but as a vertical tree so the secondary tabs will be placed under/in the parent? This is what I got: <h2 ...
1
vote
1answer
66 views

How to add a menu tab programmatically to a views page?

I have a view page showing fields of an entity. The pages URL set in Views is entity/% Now I would like to add some tabs to this views pages that I can't generate with views it self, but have to ...
1
vote
1answer
223 views

How to create views tabs in D8?

I can't get views tabs to work in D8, following the exact UI procedure that does work in D7. To be more precise, in D8 at /mypage I see no tabs at all, and at /mypage/tab2 and /mypage/tab3 I do see ...
0
votes
0answers
27 views

How to add user profile menu tab to a custom drop down menu

I would like to remove some user menu tabs (will do this with tabtamer module) and create a separate drop down menu with the removed tabs. The profile tabs use user id in the links. How do I handle ...
0
votes
1answer
45 views

Drupal allows menu tabs on Views pages. Why, and why not on other kinds of content?

In my question Most maintainable way to make page with one top half and alternative bottom halves selected by tabs?, I've asked about making a page with, as the title says, alternative bottom parts ...
0
votes
0answers
22 views

New tab added to existing admin menu not displayed (plus a bit more!)

In my custom module I have an admin menu opton with 2 tabs and it worked fine for times. Then I now added a 3rd tab. But this 3rd tab didn't appear (although obviously I'd cleared the cache). After ...
1
vote
0answers
176 views

Multiple level of tab in Drupal 8

I want to have tabs but since they need to be dynamic I am making use of local tasks. In the class extending DeriverBase I have written the following function: public function ...
0
votes
0answers
26 views

Display menu tab only based on converted parameter

I have added a node/{my_menu}/mytab using the code in following question: Parameter upcasting in Drupal 8 with Form Controller After implementing ParamConverter class, I have added following code to ...
2
votes
5answers
436 views

Split node edit tab in several tabs with panels (or programmatically)

I have a content type with many fields, so that loading node/%node/edit is a pain ! In order to split node edit form in smaller forms (menu tabs), I used Page Manager. What I did so far Enable the ...
1
vote
0answers
59 views

How to print custom form on a tab in user profile page?

My problem seems to be related with my theme function not being called. $items['user/%/car/form'] = array( 'title' => 'Car', 'description' => 'Cars', 'file' => ...
1
vote
0answers
18 views

Views menu options moved to top of structure menu, no obvious way to move them

I had a funny thing happen, where the views menu options got moved to the top of my structure menu in the admin panel, specifically the "add view," "add view from template," and "import" are all at ...
1
vote
0answers
85 views

Alter node menu local task weight of “View” and “Edit” for a content type

I want to alter the ordering of the node tabs for a particular content type. From this: View, Edit To this: Edit, View I tried with using menu_local_tasks_alter like this: function ...
1
vote
1answer
21 views

Menu does not appear while opening my site

management menu such as add content type,module ,configuration does not appear in my site. So how can I solve it.
0
votes
1answer
68 views

How to create active menus for the content type in drupal 7?

I want to create a simple content type with menus ,on clicking each menu the content will be shown on the same block but of the respective menu item. In this image ,i am having 3 menus a,b ,c with a ...
0
votes
2answers
188 views

Tab Tamer - Hiding tabs based on Roles

Tab Tamer Module only does but so much. I want to hide a tab for anonymous users and have it active for other admin users. This just turns it off completely. Any ideas?
0
votes
0answers
22 views

Add a view containing tabs to a panel page

I have built a view which contains several tabs (created by making multiple displays and setting their menu property to "menu tab"). I am trying to workout how to add this view (containing the tabs) ...
0
votes
1answer
117 views

How to add a menu under Webform Results?

In Drupal 7, I know we can use Views to add sub menu or menu tab on "My Workbench". The form result I have in "mydomain.com/node/99/webform-results" contained Submissions, Analysis, Table, Download, ...
0
votes
1answer
64 views

Enabling HTML in MENU_LOCAL_TASK titles (primary tabs)

I would like to place a <br /> tag in my MENU_LOCAL_TASK titles so that I can reduce the width of the primary tabs. It seems that in theme_menu_local_task the link title is run through ...
0
votes
2answers
1k views

How to create navigation menu on sidebar with different navigation links displayed on different pages?

I am using Drupal-7. I have created Dropdown menu with Megamenu. Now, I wanted to create navigation menu on left side that menu items will be different on each page. I have created navigation block ...
0
votes
1answer
936 views

Hide node “edit” tab for certain content types and roles

I am trying to hide node "edit" tab for certain content types and roles without removing or disabling access to the edit pages. An edit button is going to be created manually and displayed on node ...
0
votes
1answer
122 views

Why my first tab is missing for local menu tasks defined by hook_menu()?

I am learning how to use hook_menu(). I am at a point where I have a question and not figure it out. I have a local task button inline with View and Edit and I want 4 sub-local_task buttons. See chart ...
0
votes
1answer
48 views

How to alter tabs that have wildcard in bartik main menu

The problem is that I have some menu items with wildcard that I wanna add in main menu tabs, but can't realize how to do it. It can't be solved by hook_menu as I undestood. Tried use ...
0
votes
1answer
13 views

Show item as local task but hide if argument is not provided

I have three tabs and third have wildcard in path. I added access callback for this menu item that checks if no argument then close access. The tab not shows afte that but ther is error "Notice: ...
0
votes
1answer
193 views

Secondary Tabs and views

I am trying to get Secondary Tabs to work. I want to create a local tab with sub tabs. View | Edit | Reg Report Reg Report     Reg Report | Pre-Registration | Post-Registartion ...
0
votes
1answer
168 views

Local Task Menu - Add a Page link

I am trying to figure out the best way to add a panel page navigation item to the local task menu set. I want to create a Panel Page with QuickTabs to build a simple UX for a non-drupal admin to ...
0
votes
0answers
103 views

Missing dropdown menus when viewed as a publisher(user)

I've used ZeroPoint theme, developed a site and it works perfect. Recently, I got to create a new user with specific roles for that I created a "publisher profile" and assigned some roles. Whatever ...
0
votes
0answers
30 views

Alter titles of account tabs containing views tabs

I can easily alter titles in user account tabs from inside template.php like so function custom_theme_menu_alter(&$items) { $items['user/%user/edit']['title'] = 'mytitle1'; ...
1
vote
1answer
107 views

View with Page display won't show menu tab for an alias

I want to add a few views (members and challenges) to a specific content type called group. I don't want the views to display all on the same page, this is easily done with the block display type. But ...
0
votes
1answer
763 views

Add tabs on node edit page

How can i add a new tab in node tabs ( with edit, view tabs ) and show a page on this new tab ? i am working on a shopping cart where i need to add a new configuration tabs with nodes and ubercart ...
0
votes
3answers
356 views

Remove links from the menu tabs

How can I remove the some links from the Tab, when we are login as a particular user. Please see the below picture. I want to remove the tab Items maked in red rectangle (deny access to this link). ...
0
votes
0answers
45 views

Need advice on how to go about creating a very specific custom menu

I have the need to create a custom menu that is giving me quite the challenge. I have a site that focuses around properties as the main content type. Several other content types have references to the ...
0
votes
1answer
311 views

How do I create an “About us” page and make it appear in the main menu?

I have created a custom page page--about.tpl.php. And want that page to hook it in menu. I have gone through hook_menu but didn't get my answer. I also read page template suggestion. Tell me how I ...
1
vote
1answer
106 views

Menu tab with count

I am trying to add a menu tab on the user profile page with the # of blog posts someone has made. Ex: Blogs (3) /** * Implementation of hook_menu */ function menutab_followers_menu() { $view = ...
0
votes
2answers
48 views

How to create tabbed menu consisting of views and a contact form while having unique paths for each tab?

I'd like to create a tabbed menu of my support page like this: | FAQ | Contact us | I'm using views accordion to create a view for my FAQ, but I'm using the contact form for my Contact ...
0
votes
1answer
45 views

How to create a dynamic main menu tabs

I want to create a dynamic main menu according to user roles. For example if an anonymous user visits he can only see the 'Home' and 'About Us' links, while registered users can see additional links ...
0
votes
2answers
388 views

Problem with menu position module

I have a menu like this: In the first sidebar you see the main menu with links. The second sidebar is a block that is visible on pages that begin with stocklijst/. The link in the first sidebar ...
0
votes
2answers
305 views

Customising user profile tabs

I've customised the user profile tabs to look like a dashboard by using the generated classes and styling them using just CSS. Just to be clear, I haven't used any hooks or preprocesses to render the ...
0
votes
1answer
394 views

Altering Create New account tab link in user login page

I tried using form alter for menu of tabs in /user page, that shows "create new account", "login", request password is it possible for us to alter the link so that the create new account can go to ...