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

    (@tobiasbg)

    Hi,

    thanks for your question.

    1. This sounds interesting, but I’m not yet convinced that this is really necessary. There are not many people that need this, I think… And I don’t really like to add new buttons to the “Edit” screen, because that makes everything more complicated and harder to use…

    2. No, sorry, that’s not directly possible. The reason is that tables by default don’t have the necessary CSS classes that Themeroller uses. And actually, there’s are no such classes in Themeroller, from what I can see… You should probably try to extract the relevant CSS that you want and try to use that as “Custom CSS” after adjusting the selectors.

    Regards,
    Tobias

    Thread Starter Maximillion24

    (@maximillion24)

    thanks for answer
    i have to add a new row to 25 tables every day with similar content like this:

    http://up-img.net/images/86640585992710687696.jpg

    well, if u think it can make screen more complicated, don’t do it

    sorry for bad english
    thanks you

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    ah, ok. Yes, in your case this would probably make sense. I will think about it some more 🙂 Maybe I can find a good solution.

    Best wishes,
    Tobias

    Thread Starter Maximillion24

    (@maximillion24)

    thanks a lot

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    sure, no problem!

    Best wishes,
    Tobias

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    quick update:
    The next version of TablePress will have a “Duplicate” button for rows 🙂
    (For columns, this is much harder to implement, therefore I went with only rows for now.)

    So, you could either wait for TablePress 0.9-RC (probably in a week or two), or replace your current version of TablePress with the development version from http://tablepress.org/download/tablepress-dev.zip
    (You might need to refresh your browser cache on the “Edit” screen of a table, so that the changes are loaded.)

    Best wishes,
    Tobias

    Thread Starter Maximillion24

    (@maximillion24)

    Thanks Tobias,
    Will my table be safe, if i update tablepress to new version?

    thanks again

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    yes, that’s no problem. Tables are not touched during the update.
    (If you want, you can of course create a backup, just to be on the safe side. Just go to the “Export” screen, select all tables, and choose “JSON” as the format. The downloaded ZIP file will contain all of your table data and options.)

    Regards,
    Tobias

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    good news again 🙂 I was able to implement the copying of columns as well 🙂
    This is now also in the developer version, so if you want to try it, just repeat the procedure of installing the developer version.

    Best wishes,
    Tobias

    Hi Tobias,

    Great table plugin!

    1. I am happy to hear copying of rows/columns works. Do you mean we can copy a selected part of a table being transfered (or appendded) to another table, simular to a shopping cart application?

    2. Are there hooks in the plugin to import/export data without manual operation by hand?

    Thanks,

    tak

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question!

    1. No, this copying process is more a “duplicating” process of rows and columns in the same table. After installing the current dev version, as mentioned above, you will have “Duplicate” buttons on the table’s “Edit” screens. Copying rows/columns from one column to another is not possible. Sorry.

    2. If I understand correctly, you are looking for the “Table Auto Update” Extension. This allows you to periodically import tables from a file on the server or a URL. To use that, install and activate http://tablepress.org/download/extension/tablepress-table-auto-update.zip as a regular WordPress plugin. Note that this requires the dev version of TablePress (see above) to be installed!
    After that, see the lower part of the “Import” screen, where you can configure the auto import.
    Is that what you where looking for?

    Regards,
    Tobias

    Hi Tobias,

    Thanks for your quick reply and the auto-update plugin. I will set it up and give it a try.

    Tablepress-auto-update plugin is a good example of using your import API. Do you also happen to have tablepress-auto-download (or similar extension) that use export API? 🙂 Thanks.

    With both import/export API available, there is no need for function that transfers data between two tables mensioned in my previous question #1.

    By the way, can I edit the contents of the table?

    Regards,

    Tak

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    well, I wouldn’t say that the Extension uses an API, it’s more like some internal functions 🙂

    I don’t think that such an export/download API is really necessary, as long as you have your tables in a page somewhere.
    Remember that the Auto Import can also import HTML from other URLs. So, on the second site, the auto import would just have to be configured to automatically import the table from the corresponding page on the first site.

    And yes, of course you can edit tables. That’s the main feature of the plugin. No offense, but have you even tried the plugin? 😉 Or am I misunderstanding the question?

    Regards,
    Tobias

    but have you even tried the plugin? 😉

    Only in the admin page. By the way, for some reasons, auto-import extension you sent me did not show up as a plugin. I am looking into what I did wrong. I believe it will work because someone else in this forum has tried it.

    I would like to find a way to use Tablepress as a workbench. I have data that has been extracted from some other format (such as .pdf). I would like to import it directly into a table, touch a little, and export it into database.

    I would like to avoid using file read/write as data transfer channel.

    By the way, can multiple users access their own tables? In other words, does custom post type that you use includes user ID tag?

    Tablepress is indeed a very good plugin for normal usage. I just want to see whether I can use it in my application.

    Regards,

    Tak

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    TablePress as a workbench to get data into the database? I’m not sure about this.
    This doesn’t really sound like something that TablePress is good for. You should probably consider a spreadsheet program for this, like Excel. That can also export CSV files, and you can directly import those into a mySQL database with PHPMyAdmin for example.

    Now, users can access all tables. The Custom Post Type does save who created a table, but that is only for display purposes, it is not used for capability checks.

    Regards,
    Tobias

Viewing 15 replies - 1 through 15 (of 30 total)
  • The topic ‘Copy Row or Column’ is closed to new replies.