Closed (fixed)
Project:
Wordpress Import
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
4 Jun 2008 at 20:47 UTC
Updated:
9 Dec 2009 at 04:58 UTC
I have selected my wordpress .xml file, then given the list of wordpress blogers and then a drop-down of my drupal users, which is several thousand, as we have that many users. The problem is trying to find the correct drupal user to match up with the wordpress user, as the list is not in any type of order. It would be nice if it was in alphabetical order. Is this an known issue, any way around this?
Thanks
David
Comments
Comment #1
kmillecam commentedDavid,
Try this ...
Change line 582 in the wordpress_import.module file
from this:
$sql = "SELECT * FROM {users}";
to this:
$sql = "SELECT * FROM {users} ORDER BY name ASC";
Comment #2
yrocq commentedI just commited the modification. Thanks !
Comment #3
dbezzant commentedI tried the updated code to make the drop-down list alphabetical, , now my browser is crashing, tried several ones, as it tries to build the list. In thinking about this, I already know the "name" of the user. If I could have a text field where I can enter the drupal "name", that make it easier and quicker to import this grundle of content I need to move from WordPress, which my users are getting anxious to get moved.
Thanks
David
Comment #4
lavamind commentedBranch 5.x is no longer supported.