• Resolved wrathful

    (@wrathful)


    I’m having a problem getting CSV imports to assign a proper slug to players. I’m using the format:

    #,First name,Last name
    1000,kaleb,test

    the output I’m getting is:

    $opt_cat(ID): 5 Team slug: varsity
    
    Team slug: varsity
    Loading DataSource ...
    
    Done.
    
    First Name:
    
    Last Name:
    
    Title: No first or last name Slug:
    
    $opt_cat(ID): 5
    
    retval = 9382 ID: 1053 K: _mstw_tr_number V: 1000
    
    retval = 9383 ID: 1053 K: _mstw_tr_first_name V: kaleb
    
    retval = 9384 ID: 1053 K: _mstw_tr_last_name V: test

    in the roster, I’m getting links like

    http://example.org/players/no-first-or-last-name-93/?format=custom

    instead of something like

    http://example.org/players/kaleb-test/?format=custom

    I’m not sure if this is intended or not, but I’m curious to know if there’s something I’m doing wrong

    https://wordpress.org/plugins/team-rosters/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mark O’Donnell

    (@markodonnell)

    Hi wrathful,
    Thanks for writing. The output looks OK, however I don’t have access to your links. (Dev site?)

    It first glance, it’s not clear you are doing anything wrong. Have you tried to import the CSV sample files in the plugin’s /csv-examples directory? Please let me know what those results are.

    Thanks.
    -Mark

    Thread Starter wrathful

    (@wrathful)

    Looks like I figured it out, the CSV title field has to be capitalized exactly as ‘First Name’, not ‘First name’. Once I changed that, it started working properly.

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Cool. I will mark this resolved.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘CSV import help’ is closed to new replies.