Download & Extend

Make Content: Path respect node language

Project:Views
Version:7.x-3.x-dev
Component:node data
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

I have a use case where I need a view that displays multiple node titles linked to the node URLs. These node URLs need to respect the node language (ie if the node is in Spanish, the node URL needs to be http:///es/). I found a way to do this by adding a simple option in views_handler_field_node_path.inc. I will provide this as a patch.

Comments

#1

Status:active» needs review

Here is the patch.

AttachmentSizeStatusTest resultOperations
1851594-content_path_language-1.patch1.73 KBIdlePASSED: [[SimpleTest]]: [MySQL] 1,603 pass(es).View details | Re-test

#2

hi thanks for the patch. but for some reason, i don't see to have this file: /modules/node/views_handler_field_node_path.inc.
i am running view 3.5 and drupal 7.16

#3

oh never mind.

#4

What about such kind of patch, so we don't have to load the node itself?

AttachmentSizeStatusTest resultOperations
views-1851594-4.patch2.04 KBIdlePASSED: [[SimpleTest]]: [MySQL] 1,603 pass(es).View details | Re-test
interdiff.txt1.04 KBIgnoredNoneNone
nobody click here