I have a probably common question. For example whe have material type "news" and page made by views that displaying news teasers. We have menu item "news", that link to our view page and have url example.com/news. Each news page have url like example.com/news/[news title]. How could we set menu item "News" to be active on such pages /news/[news title]?
2
There are 2 best solutions below
0
danielson317
On
I recommend the context module. It allows you to set the active trail based on url, view, content type, etc. Very powerful interface.
Related Questions in DRUPAL
- Drupal access control to custom user profile page
- How to list all child pages of current parent page in drupal 7?
- MariaDB/MySQL all of a sudden crashed and won't restart
- Drupal location module shows only a portion of Gmap on node page
- How to add a select collection type select list to field collection
- Drupal7 modified user login no effect?
- Drupal AngularJS ajax simple ng-repeat update
- Drupal: Access A Field in hook_views_query_alter()
- Drupal Webform : set SCORE on each SELECT Options?
- Register new user as authenitcated user in drupal using xml-rpc
- Drupal domain access auto create content
- How to display sibling pages except current page in drupal 7?
- how to merge entity reference relationship field value
- Drupal print breaks when rendering a region
- All files and folders are not being listed in the imce file browser in Drupal 7
Related Questions in DRUPAL-7
- Drupal access control to custom user profile page
- How to list all child pages of current parent page in drupal 7?
- Drupal location module shows only a portion of Gmap on node page
- How to add a select collection type select list to field collection
- Drupal AngularJS ajax simple ng-repeat update
- PHPStorm Drush on Vagrant
- Drupal: Access A Field in hook_views_query_alter()
- Drupal domain access auto create content
- How to display sibling pages except current page in drupal 7?
- how to merge entity reference relationship field value
- Drupal print breaks when rendering a region
- Drupal 7 treating HTML div with data attribute as text
- All files and folders are not being listed in the imce file browser in Drupal 7
- drupal api returns json causes syntax error, malformed JSON in json_decode function of php
- Drupal module development, custom database tables, pages for managing those data
Related Questions in DRUPAL-NAVIGATION
- Drupal 7 custom menu rendering
- Drupal's Bootstrap/Dispatch/Routing Flow
- How do I limit access to menu by role in Drupal?
- Drupal 7: How to add translated nodes to the menu system
- drupal 7 menu return global results
- access to custom admin menu item by role in Drupal 7
- Drupal custom theme visibility to all users
- How to theme a menu block in Drupal?
- Drupal 7: Make a custom module create a menu item in the user menu
- Drupal7: Some of the main Menu links not showing if not logged in
- How do I output a single menu link in drupal 7 knowing it's $mlid?
- Drupal 7 Bartik theme main menu
- Drupal Main menu renders horizontally
- How to build a menu programmatically (Manually) with Drupal?
- Theming menu block module drupal, get rid of default block style
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The Menu Trail By Path module does exactly that:
I've used it for ages and it works great