While uploading csv, even if i map content profile title with any field, it keeps inserting username in title. I searched a lot, if its duplicate issue, please provide any link regarding this issue.

Comments

robert castelo’s picture

Status: Active » Closed (works as designed)

Use Automatic Nodetitles to automatically create a title.

http://drupal.org/project/auto_nodetitle

marcvangend’s picture

Version: 6.x-3.0-beta3 » 6.x-4.x-dev
Category: bug » feature
Status: Closed (works as designed) » Needs review
StatusFileSize
new1.64 KB
new3.11 KB

While this may work as designed, I think it would be better if user_import does support setting the Content Profile title.

Automatic Nodetitles is a good option if the title can be generated from other field values, but this is not always the case. Also, I prefer not to install an extra module as workaround, especially when this can be fixed in User Import with just a few lines of code.

Here is a patch for the 6.x-4.x branch. It adds the content profile node title as a field match option and processes the value when the content profile node is created or updated.

PS. The patch contains quite a few lines that only change white space, which makes it less readable for humans. For your convenience, I'm also including a patch that ignores white space, so you can review my code easier.

gisle’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)
Parent issue: » #3066322: Remove support for depreciated modules

The Drupal 6 version is no longer supported.
There is no Content module in Drupal 7.
Closing as outdated.