Timeline for Views Contextual Filters: Using node's URL alias as a conditional filter
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 24, 2018 at 1:56 | vote | accept | Confused Drupaller | ||
Apr 24, 2018 at 1:56 | comment | added | Confused Drupaller | Thank you sonfd, you have helped me solve my issue. Here is the strange thing, if I create an "alias" on my content type (just a text box), populate the field, and change the change the contextual filter to field_alias, the View returns the page /foo/bar. I also checked out View URL Path Arguments; it works assuming validation criteria is provided when the filter value is in the URL. drupal.org/project/views_url_path_arguments/issues/2285223 | |
Apr 24, 2018 at 1:42 | history | edited | sonfd | CC BY-SA 3.0 |
added 17 characters in body
|
Apr 24, 2018 at 1:32 | history | edited | sonfd | CC BY-SA 3.0 |
added 270 characters in body
|
Apr 24, 2018 at 1:19 | comment | added | Confused Drupaller | sonfd, thank you for your reply. I'm struggling with the "Use Path Alias" checkbox, seemingly this is available out-of-the-box and I'm just failing to understand how to implement it. Drupal has long-touted friendly URLs and it does not seem that custom code should be required. Also, I reviewed the link you provided (and searched for additional writing about the hook) and I'm just not certain how I'd implement it. Thank you. | |
Apr 23, 2018 at 20:57 | history | answered | sonfd | CC BY-SA 3.0 |