Views Current Path (Global: Current Path)
Categories
Component ID
2559561
Component name
Views Current Path (Global: Current Path)
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
2866
Component created
Component changed
Component body
About
Provides a Views field that displays the URL of the current page being viewed.
Usage
Create/edit your view and add a new field. In the "Add fields" window, choose "Global: Current Path". Configure the field options and apply it to your display.
There are many use-cases for this functionality. The most common is to use the "Rewrite results" section in other fields where you can use this field token (i.e. [current_path]) in the text or adding it to the "Output this field as a link" input box.
Credits
Original concept taken from:
http://drupal.stackexchange.com/questions/49377/get-the-current-path-in-...
Patches provided by:
- ron_s
- gcb at ThinkShout
Development is currently sponsored by MJCO Limited.

