The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
10 views

Drupal Navigation Title “Reset” to Use Page Title

Does anyone know if there is a way to "reset" a navigation title so that it falls back in-sync with a page's title? The scenario is this... Created a page with a title of "Page About Stuff." In the ...
1
vote
2answers
25 views

Print Primary and Secondary Menu Links separately

I have a main menu with primary, secondary and tertiary links. The primary links will be positioned top right of the page. I want the sub menus (secondary/tertiary links) to print in a separate ...
0
votes
1answer
21 views

Secondary & Tertiary links next to Parent links

How can I print expandable secondary and tertiary links to the right of the parent? For mobile, the secondary and tertiary links will need to stack below the parent links. Below is an example of what ...
1
vote
1answer
10 views

Display corresponding menu

I've several content types configured to add links in several menus other than the main one and navigation, and I'd like Drupal to show in a left sidebar the corresponding menu it belongs and its ...
0
votes
2answers
30 views

Modifying a single menu link title

I'd like to replace the link title on the top link of my secondary navbar (called "explorer", links to "mysite.net/explorer", but actually just triggers a dropdown-menu) with a glyphicon and the ...
0
votes
1answer
124 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
40 views

Expanded navigation in Books

By default the navigation in books is collapsed: Fruits Vegetables Is there any way to make them expanded, so that the entire tree would be visible? Fruits Apples Bananas Vegetables Tomatoes ...
0
votes
1answer
69 views

Menu link on hover is showing & instead of &

I have a Webform that provides a menu link. The webform is available in three languages (dutch, french, english). For the dutch version I have a menu title of Informatie and description Vragen & ...
0
votes
1answer
151 views

Bootstrap sub-theme navbar buttons

It looks like when you use the default Bootstrap subtheme, it renders a navbar with the Main Menu links at the top of the page, as <li><a>...</a></li> elements inside of a ...
0
votes
1answer
40 views

linkd not displaying for anonymous user

I'm trying to make node/add URL appear on front of site to anonymous user and when clicked, it redirects to login or register page. drupal hides links automatically, any help please. I'm using drupal ...
0
votes
0answers
58 views

How to add .active class in to main menu

How to add .active class in to main menu, when function "theme"_links___"name-menu"? eg: function socialzin_links__footer_menu($variables) { $html = "<ul>\n"; foreach ...
0
votes
0answers
16 views

7 - Keep content type description when rearranging content types in “/node/add”

I was looking for how to rearrange content types in "/node/add" and came across this very simple (and obvious) solution. It works perfectly, apart from one thing - once I move a content type around, ...
-1
votes
2answers
140 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
0answers
45 views

views path link as another menu item while creating node

Drupal provide menu item creation while node creation under "Menu Settings" tab. Is there any module or any method to alter that form that provide another menu item creation which lead to views. There ...
0
votes
1answer
144 views

Change navigation (sublinks) according to main menu (headlinks)

I would like to create a main menu with some links in it. And when you click on a link in the submenu, the content of the navigation menu changes according to the link clicked in the main menu (= ...
0
votes
1answer
771 views

Display different menu links based on page/theme

I have a custom main theme for my website along with a Blog theme using themeswitcher. All content in my /blog directory uses the Blog theme. Question: I would like to display different links in the ...
0
votes
1answer
779 views

How to add a custom link to login form block with hook_form_alter [closed]

How to add a link with custom path to my login block with hook_form_alter. I 've created a custom module but i dont know what to add to my hook_form_alter function.
1
vote
1answer
108 views

Menu link to the most recent article with a certain taxonomy term

I am using Drupal 7 and have been trying to figure out following: How do I make a menu link to the latest article that has been classified with a certain taxonomy term? For example, I want to have a ...
2
votes
1answer
87 views

Is there a way to remove a menu item from the active trail without removing it from the menu parent?

I'm a relative newcomer to Drupal and I'm not sure how to handle this. On this page: http://staging.stvincentdepaul.net/volunteer You can see that Volunteer is highlighted in the main nav but so is ...
0
votes
1answer
3k views

Why bootstrap navigation button does not expand? [closed]

I am trying to created a simple responsive theme using bootstrap but got stock at navigation bar in Drupal 6 and basic theme. Here is the navbar that I've put in page.tpl.php: <div class="navbar ...
1
vote
3answers
3k views

How to change HTML output of main menu

When I output the main menu this is the html that gets generated: <ul id="main-menu" class="links inline clearfix"> <li class="menu-218 first active"><a href="/drupal/" ...
0
votes
1answer
38 views

Sidebar formatting issues

The Drupal 6 website I am working on is giving me some problems with the sidebars. Here, my 'general info' sidebar is incorrectly showing 'home' sidebar info. To the right is my 'divisions' sidebar ...
0
votes
1answer
218 views

How to add multiple menu items with same URL through a module?

I'm looking to add a menu item to the main menu (top navigation on Bartik) through a custom module. Problem is, looks like Drupal keys all links across the board by URL so node/add/doc will only show ...
1
vote
1answer
53 views

update a module in the front page after adding new content into another page

I want to create a block on the home page which highlights the latest news from the 'news' page. I would like to add new content into the 'news' page frequently. Every time when I add a piece of new ...
1
vote
1answer
101 views

How to redirect a page to the custom location after form validation?

I have a form with comment section. when the comment is given as empty it redirects to the page called /comment/reply. I have to change it to my custom path. how can i do this
1
vote
1answer
137 views

Why anonymous users can only see 1 link in navigation menu?

I'm trying to show navigation links to anonymous users/ visitors of my site. However, they can only see 1 of the many links while the administrator can see all links just fine. I'm using Drupal 7 and ...
0
votes
1answer
1k views

how to link to sections in the same page?

How to create menu items with links that link to the same page (like scroll down further)? Example: http://eshbeata.com/ , clicking on "Work" or "About" just scrolls down the same page.
6
votes
2answers
90 views

Is there a standard Drupal way to link to 3rd party configuration forms?

I am writing a custom module. On my module's configuration form I would like to provide links to relevant modules' configuration forms; e.g. the cron configuration form. Is there a standard Drupal ...
1
vote
1answer
124 views

What meaning do the primary / secondary menu links have when it comes to SEO?

Is there some meaningful difference between the primary / secondary links when it comes to SEO? Do they carry a different weight from a search engines perspective? Thank you!
1
vote
1answer
107 views

Showing nested links in Drupal but still add classes to list elements

Very new to Drupal and a bit confused. In order to render a menu in my theme I've been using this: print theme('links', array('links' => $main_menu, 'attributes' => array('id' => ...
0
votes
1answer
265 views

Omega footer navigation

I'm making a footer menu. The base-theme I use is Omega. Now I'm looking for the best way to add a CSS value to each menu-item, so Omega places them next to eachother. Basicaly, what I would like to ...
2
votes
0answers
200 views

Main Menu Display Description as span Tag

I modifed my main menu using the following code, but I need the <span class="description"> elements only for the first level menu items, not for the sub-menu items. How can I achieve this? ...
2
votes
1answer
537 views

How do I add rel=“nofollow” to links in blocks/menus/etc?

I want to add rel="nofollow" attributes to links that point to login/ToS pages in my Drupal 7 site. How can this be accomplished?
5
votes
3answers
2k views

No navigation links on 404 pages Drupal 7

When I visit a page that does not exist, I expect to still see the primary and secondary links as on any other page, but what I get is no navigation links in the 404 page. See also No navigation links ...
1
vote
1answer
430 views

Menu items shown in Navigation menu?

I made a module for displaying nodes(links) from database. And I have simple question, why are the links displayed in the navigation menu? I want to be displayed in a separate menu (like navigation ...
0
votes
0answers
505 views

Expandable Tree Menu with parent links inactive

In Drupal 7 I am trying to have a tree menu that the parent items expand/contract on click, but I do not want the parent items to be a page link. I have tried DHTML Module and it does not work how I ...
1
vote
1answer
3k views

Problem displaying second level navigation in menu block

I have something strange happening with a drupal 7 site i'm working on. I have a main navigation menu which also provides navigation via a menu block for all second level pages. this works fine - i ...
0
votes
1answer
326 views

Split Menu in two

I'm trying to create a page where the main menu will be a horizontal nav structure, but split into two groups of links so that I can have a logo in the centre of the nav menu and half the links either ...
2
votes
1answer
218 views

Print the secondary links as expanded in a template file

I'm trying to print the secondary links for the main menu as expanded in my template node--products.tpl.php. In my menu I have three levels. -Products --Product category ---Product -Another menu ...
1
vote
1answer
529 views

Change the name of a tab

I have a group made from Organic groups, and it has these two tabs. I want to change the name of "View", but can't figure out where to do that. Even better would be if I could delete that little ...
0
votes
0answers
156 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
1answer
141 views

Checkbox left hand navigation drill down

Does anyone have an idea on how I can go about creating this navigation? I have a section of a website that has subwords of a top vocabulary word that I would like to show in a left hand menu in order ...
0
votes
4answers
697 views

Footer menu links

I'm trying to find a sneaky and self-updating way to duplicate the main menu links and place them in a footer menu. The only difference would be that the menu items would have to be glued with a ...
0
votes
2answers
242 views

Links continue to point to live server - Drupal Live to localhost

I have inherited a Drupal 6 site to maintain. I am new to Drupal so there is an element of learning as I go. I have encountered a strange issue after attempting to set up a test site on my local ...
0
votes
0answers
58 views

Relative links on local setup not workin

Im currently working through some problems putting a drupal 6 site I inherited onto my local machine for testing and development purposes. My server environment is IIS7.5 and I am working with a ...
4
votes
2answers
112 views

Show new navigation once user log in?

I'm building a site using Drupal 7 and have a question regarding navigation and roles. My site requires that a lot of content be accessible only to members. I'm wondering how I can show a secondary ...
5
votes
5answers
5k views

Hiding link from anonymous users

How can I hide a particular link in the main menu from anonymous users without making the whole menu invisible?
0
votes
3answers
2k 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 ...
0
votes
1answer
3k views

Drupal 7 - dynamic, collapsible, navigation bar/block/thing in the sidebar first

Because a picture tells more than 1000 words. Click here to see the image --> OPEN IMAGE On the left side, you will see what I need. On the right side, you see what I already have. The question: Is ...
3
votes
2answers
5k views

Add a class to main menu links

I've searched and found variations of this question but I've never found an answer that seemed to work. I need to add a class to the <li> elements, currently the main menu is rendered like this: ...