Support » Plugin: TablePress » Change ID when Importing Zip File

  • Resolved masc

    (@masc)


    We import 50 tables every week, and we have some ID coding for this ej.
    1006111 (means 10 is for soccer league, 06 is the week we are in, 1 or 2 is the schedule or the position tables of the team, and the last 2 that goes from 1 to 21 are the category, 1st, 2nd, 3rd, etc…), so every week, the week, schedule and position numbers are changing every week.
    So we prepare the zip file with 21 tables, but when importing it assigns the next number of tables we have and we have to change it individually to the coding number we use!.
    Is it possible to assign the ID´s for each table when importing the zip?
    Thank´s in advanced

    http://wordpress.org/extend/plugins/tablepress/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question!

    Unfortunately, I don’t see a solution to this :-(. When importing a table (that is newly added), its ID is automatically assigned via autoincrementing. Setting the ID according to a scheme as in your case is not possible, and I don’t see a way to do this. Sorry.

    Regards,
    Tobias

    What about if the consecutive number is 800 and we have tables in 810?, would table press replace the table or just jumps the next available?
    Thank´s

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no, such a table would not be replaced, but skipped. The plugin will always check whether the automatically assigned ID already exists or not, to not accidentally replace/override and existing table.

    Regards,
    Tobias

    ok thank´s

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    sure, no problem! Sorry that I don’t have better news for the original question.

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change ID when Importing Zip File’ is closed to new replies.