Link to home
Start Free TrialLog in
Avatar of glepiza
glepiza

asked on

Drupal 7 views fields

Dear experts,

I was wondering, is there a way to nest fields inside a view?
For example, I have the following fields inside views:

Fields:
Field 1
Field 2
Field 3
Field 4

So my question is, is it possible to nest Field 2 inside Field 1? like:

Field 1
      Field 2
field 3
Field 4

I would like Field 2 to be inside the div that corresponds to Field 1.

Thanks in advance,

Winter
ASKER CERTIFIED SOLUTION
Avatar of Aaron Feledy
Aaron Feledy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of glepiza
glepiza

ASKER

you are a genius!!! Thanks!!!!!!! just what I need it.
Avatar of glepiza

ASKER

One more thing, I just saw it after doing everything, but if you want I can open a new question. :)
On the view fields I have the following field: Privatemsg: Send Privatemsg link. For some reason I can´t exclude it from display so when I use the token [privatemsg_link] I get two links to send a private message. Do you know if there is way to work around this?

As I said before, if you would like me to open a new question that is fine, but if you can answer me here I would greatly appreciate it.

thanks

Winter
The missing option seems to be a shortfall with the privatemsg module. Check here for a patch. You could also hide the field with CSS, but I would advise against that since it still shows up when viewed by search engines and various other platforms.
Avatar of glepiza

ASKER

Excellent! the patch worked like a charm! Thank you very much!