Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Using a term introduced in Drupal 8, routes are the paths to which modules respond.
0
votes
1
answer
686
views
show custom menu in page tpl file
<?php if (isset($custom_links)) { ?>
<div id="secondaryNav"><?php print theme('links', $custom_links) ?></div>
<?php } ?>
I've create a custom menu (machine name: menu-secondary-menu). And I want t …
3
votes
2
answers
3k
views
Why is my sub-menu not loading in main menu?
<div class="row" id="mainNav">
<?php print theme('links__system_main_menu', array(
'links' => $main_menu,
'attributes' => array(
'class' => 'menu',
),
)); ?>
</div>
I've used th …
0
votes
1
answer
209
views
how to get individual classes for each menu list items
I am theming my website and used the following code to print my main menu.
<?php
$main_menu = variable_get('menu_main_links_source', 'main-menu');
$tree = menu_tree($main_menu);
print render($tre …
1
vote
1
answer
466
views
Show links only to sub menus items, not to parent menu
I added some links to Main menu and created sub links for it. Now the problem is that I've to give url to the parent menus of sub links. I want it to be disabled. Links should be for sub menus only. H …