WordPress.org

Forums

TablePress
[resolved] Change ID when Importing Zip File (6 posts)

  1. masc
    Member
    Posted 2 years ago #

    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/

  2. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    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

  3. masc
    Member
    Posted 2 years ago #

    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

  4. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    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

  5. masc
    Member
    Posted 2 years ago #

    ok thank´s

  6. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

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

    Best wishes,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • TablePress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic