You are here

README.txt in Views URL Path Arguments 7

-- SUMMARY --

Simple module to convert a view contextual filter node id into its url path.

Extended use case: A website has a view that uses node reference or entity 
reference to filter the results set.  For example, a regional location node
is a node reference on a bunch of news stories.  The view is setup to filter
and show only news stories in the Chicago region and not any news stories
from the Kansas City region.  Rather than using nid for the contextual
filter (which isn't SEO friendly) these plugins allow the ability to use
SEO friendly url path / path alias.

For a full description of the module, visit the project page:
  http://drupal.org/sandbox/lucashedding/1872408

To submit bug reports and feature suggestions, or to track changes:
  http://drupal.org/project/issues/1872408


-- REQUIREMENTS --

Views 3.x.


-- INSTALLATION --

* Install as usual, for further information see 
  http://drupal.org/documentation/install/modules-themes/modules-7.


-- CONFIGURATION --

There are two plugins available in this module. The default argument plugin 
should be used with blocks or things that don't naturally have arguments
available to them. The validator plugin should be used to convert the nid for
views that naturally have arguments available to them, such as pages. They 
can be used together if a view is rendered in both a block and a page.  Or 
seperately if the site's view is rendered only as a page or only as a block.

* Configure contextual filters in Administration » Structure » Views » view:
  Add a contextual filter i.e. Content: Nid

    * Argument not available to views?
       When the filter value is not available » Provide default value »
       URL path alias from URL
    * Argument available to views?
        When the filter value is available or a default is provided »
        Specify validation criteria » Validate URL path alias


-- FAQ --

Q: Why would I use this module?

A: For SEO purposes you want to use the url path a.ka. path alias as an 
   argument to a view contextual filter.


-- CONTACT --

Current maintainer:
* Lucas Hedding (heddn) - http://drupal.org/user/1463982

File

README.txt
View source
  1. -- SUMMARY --
  2. Simple module to convert a view contextual filter node id into its url path.
  3. Extended use case: A website has a view that uses node reference or entity
  4. reference to filter the results set. For example, a regional location node
  5. is a node reference on a bunch of news stories. The view is setup to filter
  6. and show only news stories in the Chicago region and not any news stories
  7. from the Kansas City region. Rather than using nid for the contextual
  8. filter (which isn't SEO friendly) these plugins allow the ability to use
  9. SEO friendly url path / path alias.
  10. For a full description of the module, visit the project page:
  11. http://drupal.org/sandbox/lucashedding/1872408
  12. To submit bug reports and feature suggestions, or to track changes:
  13. http://drupal.org/project/issues/1872408
  14. -- REQUIREMENTS --
  15. Views 3.x.
  16. -- INSTALLATION --
  17. * Install as usual, for further information see
  18. http://drupal.org/documentation/install/modules-themes/modules-7.
  19. -- CONFIGURATION --
  20. There are two plugins available in this module. The default argument plugin
  21. should be used with blocks or things that don't naturally have arguments
  22. available to them. The validator plugin should be used to convert the nid for
  23. views that naturally have arguments available to them, such as pages. They
  24. can be used together if a view is rendered in both a block and a page. Or
  25. seperately if the site's view is rendered only as a page or only as a block.
  26. * Configure contextual filters in Administration » Structure » Views » view:
  27. Add a contextual filter i.e. Content: Nid
  28. * Argument not available to views?
  29. When the filter value is not available » Provide default value »
  30. URL path alias from URL
  31. * Argument available to views?
  32. When the filter value is available or a default is provided »
  33. Specify validation criteria » Validate URL path alias
  34. -- FAQ --
  35. Q: Why would I use this module?
  36. A: For SEO purposes you want to use the url path a.ka. path alias as an
  37. argument to a view contextual filter.
  38. -- CONTACT --
  39. Current maintainer:
  40. * Lucas Hedding (heddn) - http://drupal.org/user/1463982