Posted by Hoeven on March 26, 2010 at 7:30pm
Hello,
I am building a site where a user can have one of two roles or for some user both roles. I would like to have a different profile page based on the role and ideally for those users with two roles, have the two profiles pages in different tabs so that the viewer of the profile can quickly switch between the two profile pages.
I have build the two profile pages using Content Profile / CCK / Panels 3
Now I am running into difficulty on how to actually show two profiles as two pages behind tabs.
Any suggestion welcome!
Comments
You have option, 1) Use panel
You have option,
1) Use panel tabs module to create tabs with in a single profile page at /user/%user
2) second is just give the second profile url in page manager like say user/%user/profile_2
Hope this helps
Troyl, Thank you for your
Troyl,
Thank you for your response and I am trying your first option of using tabs within a page. The only issue that I run into is that every "page content" item (for a lack of a better term) will be a tab. Not a problem perse but then it will require that the profile for every role is fully contained within a single page content item. This is where I have the issue because panels doesn't allow me to have a node as a page content item. A potential way out is to develop two views (for every role) and plop those on the page. But maybe there is another way to do it in pages.