• Resolved ahlemann

    (@ahlemann)


    Hello Mark,

    thanks for your Plugin.
    It helps. Now i tried to import basic player data with the csv-import.

    My csv looks like this:

    last name,first name,Position,Number,Height,Age,year,Bats,Throws
    Abel,Thiemo,,,,,,R ,R
    Ahlemann,Oliver,LF – Left Field ,46,,37,1975,R,R
    Ahlf,Jochen,OFF- Cut from Team,,,,,R,R

    When importing, the Slug-Name won’t be generated.
    The importer output:

    —-
    $opt_cat(ID): 32 Team slug: d1
    Team slug: d1

    Loading DataSource …

    Done.

    First Name:

    Last Name:

    Title: No first or last name Slug:

    $opt_cat(ID): 32

    retval = 1 ID: 2325 K: _mstw_tr_last_name V: Abel

    retval = 1 ID: 2325 K: _mstw_tr_first_name V: Thiemo

    retval = 1 ID: 2325 K: _mstw_tr_position V:

    retval = 1 ID: 2325 K: _mstw_tr_height V:

    retval = 1 ID: 2325 K: _mstw_tr_age V:

    retval = 1 ID: 2325 K: _mstw_tr_year V:

    retval = 14798 ID: 2325 K: Bats V: R

    retval = 14799 ID: 2325 K: Throws V: R

    First Name:

    Last Name:

    Title: No first or last name Slug:

    $opt_cat(ID): 32

    retval = 1 ID: 2326 K: _mstw_tr_last_name V: Ahlemann

    retval = 1 ID: 2326 K: _mstw_tr_first_name V: Oliver

    retval = 1 ID: 2326 K: _mstw_tr_position V: LF – Left Field

    retval = 1 ID: 2326 K: _mstw_tr_number V: 46

    retval = 1 ID: 2326 K: _mstw_tr_height V:

    retval = 1 ID: 2326 K: _mstw_tr_age V: 37

    retval = 1 ID: 2326 K: _mstw_tr_year V: 1975

    retval = 14814 ID: 2326 K: Bats V: R

    retval = 14815 ID: 2326 K: Throws V: R

    First Name:

    Last Name:

    Title: No first or last name Slug:

    $opt_cat(ID): 32

    retval = 1 ID: 2327 K: _mstw_tr_last_name V: Ahlf

    retval = 1 ID: 2327 K: _mstw_tr_first_name V: Jochen

    retval = 1 ID: 2327 K: _mstw_tr_position V: OFF- Cut from Team

    retval = 1 ID: 2327 K: _mstw_tr_height V:

    retval = 1 ID: 2327 K: _mstw_tr_age V:

    retval = 1 ID: 2327 K: _mstw_tr_year V:

    retval = 14830 ID: 2327 K: Bats V: R

    retval = 14831 ID: 2327 K: Throws V: R
    —–

    As you see, i get entries without Slugname…

    Please tell me i make a simple mistake and how to do it right.
    Thanks for the support!

    Regards,

    ahlemann

    https://www.ads-software.com/extend/plugins/team-rosters/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘CSV import won't work properly…’ is closed to new replies.