Questions tagged [routes]

Using a term introduced in Drupal 8, routes are the paths to which modules respond.

Filter by
Sorted by
Tagged with
0
votes
0answers
395 views

Menu Icons + Omega

I'm using Menu Icons with Omega and, well, my menu icons are cut off above and below the line. I've done all the CSS stuff I can think of and nothing seems to help. When I look at the documentation ...
0
votes
0answers
125 views

Show Block on third level domain

I realise that the title probably makes no sense - and that's because I'm finding it quite hard to explain this. But I will try my best. I have a block that is set to only display on these pages ...
0
votes
0answers
233 views

node is appended after base url and before actual link

I am using drupal 7 In my home page when i hover any link say node/45 then there is right link like base_url/node/45 But after visiting any node i.e. when i go to node/45 page, on that page when ...
0
votes
0answers
470 views

Cannot edit my navigation menu

I cannot edit my navigation menu. I think this comes from upgrading from Drupal 6 to 7. I get this error message: URL: http://www.energyjustice.net/admin/structure/menu/manage/navigation ...
0
votes
2answers
215 views

Build context menu for news articles (sample image included)

I have a complex view that queries and presents a lot of news articles depending on year and month contextual filter arguments. Everything works fine so far. However, now I want to show kind of ...
0
votes
1answer
268 views

Pulling Breadcrumb items from the Menu Link text instead of Title field (D7)

Some of my pages are pulling text for the last breadcrumb item from the menu link text. The rest of my pages are pulling text for the last breadcrumb item from the Title field. What I want is for all ...
0
votes
1answer
487 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
1answer
95 views

Integrate ddmegamenu in drupal menu

There is a menu plug in called ddmegamenu http://www.dynamicdrive.com/dynamicindex1/ddmegamenu.htm I want to integrate in drupal 7 menu system. I don't know form where to begin i tried drupal ...
0
votes
1answer
249 views

Creating a menu based on cck field

I would like to build a custom menu structure based on cck fields. lets say I have 2 fields in which I will type the menu item. parent item = field_category child item= field_subcategory So in a ...
0
votes
1answer
73 views

How to force a theme to use a sitewide custom menu

Ok so Im coming from wordpress where I could just hook a menu into the header of every page and create my own custom menu. I'm trying to do the same with drupal but it's so confusing! Im building my ...
0
votes
1answer
1k views

How to adjust position of drop-down block in Nice-Menu?

I have inherited a site built in Drupal 6 that uses Nice-Menus for both the top and side nav bars. I've been tasked with modifying the current navigation and have run into issues adjusting both the ...
0
votes
1answer
232 views

How to have Menu like apycom

How can I create menus like Apycom Menus ? Do I need to create custom module and then use it which will be available to whole site or I can just use css and js from the apycom menus?
0
votes
2answers
404 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 ...
0
votes
1answer
540 views

Sharing Global Menu Links Menu to subsites

How to present a global menu across multiple subsites I've been trawling the Drupal site for answers to this and because I'm only 4 days into my Drupal 7 adventure I'm sure half my battle is finding ...
0
votes
1answer
58 views

Call node information when rendering links

Alright, this one is a bit tricky. I'm using the theme() function and theme_links__system_main_menu to render the main menu in a specific way on the front page. All the menu items link too basic pages....
0
votes
1answer
138 views

How do I create a view to re-arrange blocks or menu items?

I would like to create an admin view that allows to reorder menu items. I know it is a standard admin feature, but I would like to display it in a panel. How can I do that ?
0
votes
1answer
313 views

Menu subitems only displaying on a single page

I have several menu items in our main menu, and each of them has several sub-items. All of them display correctly EXCEPT one - this particular menu only displays the top-level menu item, unless you're ...
0
votes
2answers
834 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
1answer
79 views

Factors regarding menu visibility (menu is missing on access denied)

I've built a theme based on Zen starterkit, and recently noticed that my main menu is not rendering on any access denied pages (non-admin role obviously), however, the remaining content is rendered as ...
0
votes
1answer
77 views

How to hide blocks based on menu_name

I've a site with a main menu, and submenus as block. If I'm on node "50" I want to hide every submenu, except the submenu with the link to node "50". Question: How can I hide a block based on it's ...
0
votes
1answer
554 views

node translations and too many menu items

I use Drupal 7, locale and the i18n modules. I've setup a mini site with node translation. I have the following EN nodes: node/1 About node/2 Terms node/3 FAQ node/4 Contact and the following FR ...
0
votes
1answer
62 views

Need block content for each menu items

I need to have a separate block for a each menu items in my menu (Add item section).Is there any drupal module can help me or i should write the custom module.Please suggest the possible ways to do.
0
votes
0answers
1k views

Sidebar doesn't show up

I've an problem displaying my sidebar... I've build a custom block which has these settings: And for display options, I've choose these: But for some reason, the block doesn't appear in my sidebar ...
0
votes
1answer
1k views

Setting a default value in views jump menu d7

I followed a tutorial on how to use the jump menu functionality in views drupal 7 link http://dev.nodeone.se/node/771,it was successful. i have one problem though,I need to show a default value(for ...
0
votes
1answer
52 views

Trouble making dynamics links

I have two dynamic links that I want to put in a block, e.g. http://example.com/series/bomberman-jetters/node/add/gallery/82 ("series" is the content type, and "bomberman jetters" is the node title), ...
0
votes
0answers
280 views

Create dynamic links in block

How do you create a block with multiple dynamic links? If the url is http://www.domain.com/series/bomberman-jetters/node/add/gallery/82 then the 82 is varied depending what node your viewing. Also ...
0
votes
2answers
169 views

Added a secondary link through code. Why is my href URL getting decoded?

Added the following through code: // $uri = custompath?type=All&field_id=2&storage=3 $secondary_links['menu_custom_item'] = array( 'attributes' => array( 'title' =...
0
votes
0answers
46 views

Menu's disappearing [duplicate]

Possible Duplicate: My horizontal navigation menu disappeared This is a new version of a previous question that shriveled up and died without a an answer. Issue still remains with just some more ...
0
votes
1answer
53 views

Long form links in an “overview page”

I have a drupal project with a hierarchical page structure. On each category page (top level), I'd like to have a blurb about the category, and then a series of links to subpages, where each link has ...
0
votes
2answers
424 views

I want to make node views “Edit link” field as a menu

Is it possible to make "Edit link" field as a menu. On my site one user can create only node and I have a page view which displays the node the user logged on has created. This views has a "Edit link" ...
0
votes
1answer
232 views

How to remove a menu path defined in hook_menu from naviagtion

I've added two paths for use my my module (for OAuth authentication), but I don't want them to appear as links in menus. I tried defining their 'type' as MENU_CALLBACK but they still appear. Is ...
0
votes
1answer
121 views

Presenting a menu within page content with associated descriptions and images

Currently, I have a drupal project where I have two levels of menus. (So for example, the top menu has "home" "about us" "faq" etc.) each top level menu has a secondary menu. I'm trying to create a ...
0
votes
1answer
195 views

A menu block won't show up for second language

I have 3 separate menus in my header. They are not connected. I don't used secondary menus. My site is bilingual: english + spanish. All 3 are created using menus and placed in the same region using ...
0
votes
1answer
818 views

Setting menu trail of subpage of a node

I'm trying to have a subpage for a special content type. Everything is working fine, also the breadcrumb is working now. Only the active menu trail isn't showing up and I really don't know how to ...
0
votes
1answer
1k views

D7: jQuery script for creating 'active' links in menu system. (partially works)

This is such a pity D7 does not have by default active links sets in the menu system. I mean everyone likes to have a clue where he is in the site by the active state of the menu. I wonder why there ...
0
votes
0answers
146 views

Prevent Menu Items from being deleted or moved

How can I prevent certain menu links (i.e. Home, About, Contact) in the "Home » Administration » Structure » Menus" section from being deleted from a menu. I want to prevent clients from deleting the ...
0
votes
3answers
1k views

Hide a menu item for admin user

How can I remove a menu item when admin is logged in? I used the following code but it doesn't seem to work. function mymodule_menu_alter(&$items) { $items['item_x']['access callback'] = '...
0
votes
1answer
61 views

Where DHTML Menu link's title is getting printed

I would like to replace the title attribute of DHTML menu's link with a javascript tool tip. But i could not find the place where the link attributes are printed. ie. where test is mentioned. ...
0
votes
1answer
794 views

Accidentally Deleted Admin Menu Items

Hi i hope someone can offer me a bit of advice here. I seem to have deleted all my admin menu items. Is there a way to restore them without losing any data on my site? thanks
0
votes
1answer
2k views

Secondary Menu Tab (local task)

I was wondering if there is any good documentation out there on building second level tabs using the menu system. Here is some of the menu code in my module: $items['admin/settings/cvminterviews'] =...
0
votes
2answers
155 views

Content Type admin-side UI

I have a custom content type which has grown in fields count and all that UI hints and stuff. It now takes about 4-5 screens to scroll. I was wondering if anyone knows of a module/way that allows to ...
0
votes
1answer
116 views

Suggestion tpl help for NiceMenu markup?

I'm using NiceMenus to display my taxonomy tree. Since I chose no parent menu, the module displays the root items as separate hoverable menu "tiles", which is OK. They are however <li> items ...
0
votes
2answers
69 views

Getting 443 Forbidden Error on my custom module

I am learning drupal 8 and creating my own custom module. I have a clean localhost installation and was following some tutorials online to create a very basic "hello" for my first attempt. The issue ...
0
votes
2answers
56 views

Main Menu Tab Help

I am able to add a new tab in the Drupal Main Menu however I only want it to display when a user logs in. In other words this tab should not appear on the site until a user is authenticated. Thanks
0
votes
1answer
358 views

Want to add tabs from /user/* pages to other pages

When I go to any "user" pages on my site in /users/* I have menu tabs for the various pages in that section, like below. I want to add the top level of tabs to another set of pages. Specifically, I ...
0
votes
2answers
299 views

how to overreide page.tpl.php with my custom menu

I have override page.tpl.php with my new custom menu created in my custom module. my menu look like below $items['node/edit/restaurant/%/barcodes'] = array( 'title'=>'Barcodes', 'menu_name'...
0
votes
1answer
513 views

Styling Menu Mini panels

I'm having an issue with styling my menu mini panel hover. Here's the site with the megamenu I'm working on: http://drupal.scienceworld.ca As I'm rather new to JS, I was wondering what the best way ...
0
votes
1answer
702 views

How can i use main-menu items as a fields in selectbox in drupal 7

Helllo, I have a content type called "Lookbook" in that i want to put one field like "Lookbook For" and this field content select box and main-menu items. I have main-menu list but I want only display ...
0
votes
2answers
167 views

Site architecture - consistent paths, breadcrumb and menu

We've been trying to implement a site architecture that has a consistent menu, breadcrumb and path structure for all pages in the site. This is easy for basic pages since the path can be set using ...
-1
votes
2answers
90 views

Full urls to internal pages logging users out

I have a website with a private area for authenticated users only. I have some custom routing to control user access and it generally all works fine, however, I have run in to a problem I am not sure ...