[support] Drupal 7 views in cck

Thomas Svenson thomas at tsvenson.com
Tue Sep 27 14:26:00 UTC 2011


Hi Roger,

The most common way of doing this is:

 1. Add the First and Last name fields to your view
 2. Use "Exclude from display" for the First name field
 3. Expand "Rewrite results" and tick "Rewrite the output of this field"
    the Last name field
 4. Then use the text field and insert the replacement patterns for the
    first and last name fields.

It important the the fields you exclude are above the field you will 
then use the excluded field in.

Hope that helps,
/thomas

Thomas Svenson
My Blog <http://www.tsvenson.com> | Twitter 
<http://www.twitter.com/tsvenson> | Google+ <http://gplus.to/tsvenson>

On 25/09/2011 02:27, Roger wrote:
> In Drupal 6 I could create a view of say contacts which concatenated
> first and last name.
> this could then be used as a select list field in cck
>
> I haven't a clue how to do the same in Drupal 7
>    Is there a D7 module that permits this to happen?
>
> Help greatly appreciated, thanks
> Roger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110927/cb8e1704/attachment.html 


More information about the support mailing list