Use the lnid in views

Teobald - October 15, 2008 - 17:42
Project:Type-local nids
Version:5.x-1.3
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

Is there any possibility to use the lnid in a views table?

id Title
-- ----------
1 one title
2 an other title

Regards

#1

jjemmett - December 31, 2008 - 16:47

I also need this functionality. Is there anyone who could post a patch for this while we are waiting for this request to be assigned?

#2

ausvalue - January 5, 2009 - 04:53

I have created views integration for the Type local nids module for Drupal 6 with the current Views 2. I'm not sure of the differences between Drupal 6 and Drupal 5 so don't know how hard it is to convert back to D5.

Full details for the D6 integration are given in

http://drupal.org/node/253491

Hope this helps
Ken
http://www.ausvalue.com

#3

wibe - March 6, 2009 - 18:53

Just a thought: I believe this could be easily done by first creating a CCK field to hold the lnid (see #313476: Problem with CCK computed field) and then just referencing to it in Views.

#4

emdalton - March 10, 2009 - 00:31

That's how I would do it in the short term.

#5

jbrown - April 25, 2009 - 21:16
Status:active» duplicate

#253491: Views integration

#6

emdalton - May 29, 2009 - 13:55

One problem with using a computed field is that it doesn't get created until a node is created or edited. So it's hard to retrofit it to an existing content type. (Adding this here because the advice to use a computed field is here.)

 
 

Drupal is a registered trademark of Dries Buytaert.