This project is not covered by Drupal’s security advisory policy.

When using a "Content: ID" contextual filter on a view you can provide a default argument such as "Content ID from URL". This module provides an additional option "Content ID of Alias Parent". This option will get the path alias of the current page ('/events/name-of-an-event' for example), then drops off the end portion of the url to get the "parent" alias ('/events' in our example) and returns the node id of that "parent" alias.

This assumes that your pathauto patterns are generating good URLs that follow normal patterns like the example above.

Supporting organizations: 
Sponsored Development

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • Created by artis on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases