Posted by Teobald on October 15, 2008 at 5:42pm
Jump to:
| Project: | Type-local nids |
| Version: | 5.x-1.3 |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
Is there any possibility to use the lnid in a views table?
id Title
-- ----------
1 one title
2 an other title
Regards
Comments
#1
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
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
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
That's how I would do it in the short term.
#5
#253491: Views integration
#6
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.)