Profile fields - panel pane

warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'nodereference_autocomplete_access' was given in /home/mnnnecdq/public_html/drupalme/includes/menu.inc on line 452.
Friday, October 30, 2009 - 13:24

Tutorial is a user reguest. This tutorial is about how you can display the Profile Categories within the User Profile Panel Template. Advanced Profile Kit and the modules that the APK is recommending is activated to add more functionality. Using the Advanced Profile Kit is not required to follow this tutorial.

If certain fields from the Profile category should be diplayed you can do this by using views and add the view to the panel pane instead of the Profile Category.

1. Enable the Profile module that comes with Drupal Core
2. Goto Admin - User - Profile and create a couple of fields.
3. Tell the field which category it shall be a part of. When this is done, you can save the configuration. Edit a user and fill out the new fields.
4. The fields should be marked Public Field as in the screenshot. It can also be visible at the registration form.
4. Go to Site Building and Panels. Enable and edit the User Profile Template.
5. We need to add content to the User Profile, click the content tab down to the left.
6. I want my Profile category to show on the right hand side.
7. Within the user tab I now see a Profile Category icon. Click on this.
8. Override title if you want to and select the category you want to display. You can also fill in a message that will tell the user to edit his profile if he has not already done so. Click finish when done.
9. Visit a user and the profile category should be displayed.

Comments

Thank you for a great post!

Thank you for a great post! You really put some great suggestions on there and were very helpful! It's great that you try to respond to any comments. It gives people a reason to come back and read more. At torrent search engine http://www.picktorrent.com I have found one witty remark - " Blogging is about making friends, sharing passion, be humble and be helpful to each other" and I agree that it makes sense! I like to visit you from time to time, thank you!

re:Thank you for a great post!

I`m the one who should be thankful, to people like you and the people who created drupal :) Hope to hear from you again sometime!

-Morten

Thanks

Thanks Morten! This tutorial helped me a lot!

How to specify view?

You mention at the beginning that you can create a view if you need to only display one profile field.

I attempted to create a view, and I thought I actually got it to work... but then I realized that it only appeared to work when I was looking at my own profile.

When I looked at every other person's profile on my site, the field in THEIR profile (that I setup the view for) shows MY name.

I think I'm missing some detail here in the view setup. The view currently shows the profile field of the person who is logged in and looking at the profile. It doesn't show the information for the person who's profile I'm looking at.

I did a google search and people suggest creating an argument - but I couldn't find any real good documentation for that. Off the top of your head, do you have any suggestions?

re: How to specify view?

You have to add a user argument and provide a default argument. When you then add the view to youre content pane select this in the second screen of the overlaying window: from the user ID select User being viewed.

view01.jpg view02.jpg

You have no idea how much of

You have no idea how much of a headache you just saved me! This worked great. THANK YOU!

Thank You!

I've been looking all over the internet for information on this topic! THANK YOU!! Your tutorial worked out great :)

Add comment

The content of this field is kept private and will not be shown publicly.