The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
24 views

https link in a block is changed to http [closed]

I have a drupal site which is behind a proxy. for example: http://sites.example.com/site I have added a block in the sidebar of the site which has a link to https://sites.example.com/site/page I ...
0
votes
1answer
16 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
56 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
99 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
36 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
34 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
15 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
83 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
30 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
103 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
0answers
36 views

Make a menu show a current/active state when on a different page

I have a section of my D7 site that is based on a contextual filter. The CF is based on a content type, Program. The menu for that section is Programs, programs About The Program, ...
0
votes
1answer
589 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
430 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
96 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
67 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
2k 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
37 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
188 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
51 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 ...
0
votes
1answer
71 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
120 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
103 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
100 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
248 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
185 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
498 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 404 page. No navigation links on 404 ...
1
vote
1answer
373 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
476 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
2k 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
287 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
183 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
494 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
147 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
136 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
657 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
220 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
57 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
107 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
4k 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: ...
1
vote
1answer
164 views

How to show the description of primary links [duplicate]

Possible Duplicate: How can I add a caption to my navigation menu? I would like to print my primary links description too in my navigation like this website.
2
votes
2answers
289 views

How can I add a caption to my navigation menu?

How can I add a caption to a navigation menu in Drupal 6? I am trying to achieve this effect.
3
votes
1answer
92 views

How do I print a link only if it doesn't lead to access denied

My nodes have fairly complex permissions set on them. I want to display a small edit link on the teaser for a specific content type, only if the user has the permissions required to edit that ...
0
votes
1answer
41 views

How can I view a list of pages to link to in the Navigation module?

I am learning Drupal, and currently creating my first navigation menu. When I click 'Add Link' I can see this view: This allows me to type a value into the path field to link to, however what I am ...