I have a first name field and a last name field on a content type. 

I would like to display them on the same line, without using any code or css. I'm thinking, I could use a "Computed Field" and simply pull both fields into a single field. I am then able to put this field where I want in the manage displays setting for content type.

Is computed field the best answer? 

Is there any module that would just let one use tokens for the same thing?

Comments

Views would be my first port of call, but I guess you've already thought of that. 

I haven't used it but you could also look at Views Field Formatter

If you don't want/need a View, I think Computed Field would be an excellent option for this. BTW, you can use token replacement (by using the function token_replace()) in the computation of the field, but you do have access to the entity/node being displayed in there, so it doesn't make sense to use that function - you can simply use field_get_items() to get the contents of first and last name. Once you enable Computed Field and add a field to your node, you'll see a very good example of how to retrieve entity values in the field UI.

If you want to go through the coding route, you can create a pseudo field. In a nutshell, it requires two steps:

  1. Implement hook_field_extra_fields() to define an extra (pseudo) display field that will show up in the "Manage Display" Field UI (you can move it around, hide it etc).
  2. Implement hook_node_view() to compute your field content for display. The content of the pseudo field must be placed in $node->content['YOUR_PSEUDOFIELD_NAME'], where you need to replace YOUR_PSEUDOFIELD_NAME with the field name you used in hook_field_extra_fields()