At the moment, views of users can contain basic fields such as name and email. I'd like the ability to include custom fields created with profile.module.

Comments

merlinofchaos’s picture

Status: Active » Fixed

Profile fields are implemented and they're working and have been since before the beta phase.

tantenic’s picture

Version: 6.x-2.x-dev » 6.x-2.0-beta3

In 6.x-2.0-alpha5 I was able to add profile fields.
In 6.x-2.0-beta3 I could not add a profile field. I tried several types like checkbox, selectlist or textfield

isani’s picture

I can see the profile fields now, but I could have sworn they weren't there before. Perhaps there's a bug with beta3 (as tantenic reports), or then I was just mistaken.

trofimchouk’s picture

Status: Fixed » Active

Same bug.
I added one profile field to view (yesterday). Today I created new one, but I can't see it in Fields list on View edit page.

The field is a simple textfield. I tried to create one more field or one more view - no result.

This is for views-6.x-2.0-beta3.tar.gz

trofimchouk’s picture

Oh! I cleared views cache and new fields are available now!

Whether it is normal behaviour?

trofimchouk’s picture

Status: Active » Fixed

I found an answer :)

Disable views data caching:
Views caches data about tables, modules and views available, to increase performance. By checking this box, Views will skip this cache and always rebuild this data when needed. This can have a serious performance impact on your site.

RoboPhred’s picture

You shouldn't need to leave that box checked. A one-time clear of the cache should cause views to rebuild it and get the information on new fields. For performance, you should lave that box unchecked, and just use the manual clear cache command whenever you add a new profile field.

merlinofchaos’s picture

Title: Profile fields in user views » Profile fields require views cache clear after new field is added.
Category: feature » bug

It is useful during development.

It is probably a bug that Views isn't monitoring profile.module's pages and clearing the cache when new fields are added. I can fix that easily enough.

merlinofchaos’s picture

Status: Fixed » Active
merlinofchaos’s picture

Status: Active » Fixed

This is now fixed in -dev.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.