By clanli on
Hi
I'm pretty new at Drupal so maybe this is an easy question.
Let's say I create a view with some fields of data. I can then choose between Grid, Table etc.
But how do I do to create a kind of Grid (or whaterever) that lists my post as (for example):
Name Adress
Body
Name Adress
Body
Field 1 and 2 on the first line and field 3 on the second. I simply want to re-arrange the output.
Do I need a module, or do I need to create an own page with php-code?
Thanks.
Claes
Comments
Not sure what you are asking.
Not sure what you are asking. The default View types would show a list like that. The "unformatted" style would also it like that.
What settings do you have and what are you seeing exactly?
Thanks for you reply. What I
Thanks for you reply.
What I want is to place the fields in the output where ever I want.
Let's say an address register.
GivenName LastName, Age, Gender
Address
Postno, City
Telephone1
Telephone2
When I create a default view i get:
GivenName
LastName
Age
Gender
Adress
...
As I said I am pretty new at Drupal and maybe I am using wrong words. Im used to MediaWiki and Joomla.
You can adjust the order of
You can adjust the order of the fields via the little icon next to the fields.
To make
GivenName LastName, Age, Gender
you must do with CSS and a bit of editing the field output, once you get the right order.
Thanks for your answer. I was
Thanks for your answer.
I was afraid that I had to do it manually with code. I was hoping for a module.
Now I know, and now I have to dig into CSS and php - and that is good too :-)
You really don't need to use
You really don't need to use any PHP to modify a View result. You can use the Field Rewrite settings in Views. You can also display Content nodes or teasers instead of fields.
If you are interested in learning more about Views, I suggest looking at http://dev.nodeone.se/en/taming-the-beast-learn-views-with-nodeone . There is a section on displays and field rewriting.
Thanks. I will look into it.
Thanks. I will look into it.
Yes, it did solved my
Yes, it did solved my problem, but pretty tricky though.
What I was hoping for is a tool that can move around fields like drag and drop.
But this will do.
Thanks.