drupal6 cck views2 nodereference

Events happening in the community are now at Drupal community events on www.drupal.org.
gg4's picture

Combining results from node reference fields with multiple values

I have view that uses fields and grabs node titles - all deltas - from a node reference field via a relationship. Is there a way to get views not to generate a new row for every title that is being returned?

I have a feeling this is getting into hook_views_pre_render() or views_query_alter() territory...

All thoughts and advice appreciated.

Read more
RalphSleigh's picture

Sorting an exposed noderefence filter based on another field in the referenced node and excluding unused values?

Couple of questions on exposed filters in views.

I have 2 content types:

Gig, has a nodereference to an artist
Artist, has a textfield called sort

The sort field is used to sort the artists more intelligently than just using the name, so I can sort by the last names of people and remove the 'the' from the start of groups.

So I have a view of gigs, and one of the exposed filters is set to the artist nodereference. This produces a dropdown containing all the artist nodes sorted by their title.

A) Is there any easy way to sort the dropdown by the sort field instead of the title?

Read more
Subscribe with RSS Syndicate content