Right now, my view pane displays the fields like this:

FIELD A

FIELD B

FIELD C

I need it to look like this:

FIELD A FIELD B FIELD C

These are text fields. I tried making a horizontal grid and setting the fields inline, but as the help text said they might, these fields ignored that command.

Is there a way to make it work?

Comments

nevets’s picture

Configure Field A and Field B with "Exclude from display" checked.

For Field C, expand "Rewrite results" and check "Rewrite the output of this field"

In the textbox you will end up with something like

[field_A] [field_B] [field_C]

(Expand "Replacement patterns" to see the possible replacement patterns).

ckoharj’s picture

I have a view. Unformatted list of fields.
I am rewriting the output of two fields like this:
[field_user_last_name] [field_user_first_name]

But I can not get them to display on one line.
I even tried using css to display them inline and it still won't work.

[field_user_last_name], [field_user_first_name]

CSS:

.display-name {
	display:inline;
}
nevets’s picture

A link to a page with the view would help or at least the generated html for that part of the view.

ckoharj’s picture

Here is the link to the view.
It is normally only viewable to authorized users so I will need to reset that once I get this working.
http://www.neptune77.com/class_directory
Thanks

nevets’s picture

You could try

.view-class-list .field-name-field-user-last-name,
.view-class-list .field-name-field-user-first-name {
  display: inline-block;
}
ckoharj’s picture

Thank you very much. That works perfect.

sprite’s picture

The final visual layout of a view is significantly dependent on .CSS styling.

You need to figure out the element specifiers for your view's contents and add appropriate .CSS to your site theme .CSS to style the visual output.

spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...