• Resolved danniee001

    (@danniee001)


    Hello!

    I have two questions.

    I just installed SSL on my sites and had a problem with my site showing insecure page on all pages with tablepress. I tracked down the problem to using the http protocol for images in the tables. When changing from http to https all is fine (for some strange reason it only gave me the error when logged in).

    Is there any better way to add images to the table or is this ok?

    Another question…

    I have a table with 60 entries. If removing, say entry 25, it will mess up my whole list since the indexing number will be changed for all the other entries in the table.

    Is there any way to give the entries a static number or is my whole approach wrong?

    Thank you for a GREAT plugin!

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Changing the image URLs like that after the migration to SSL is the best way.

    For the index number: If you don’t want to maintain these manually, you could maybe take a look at the TablePress Extension from https://tablepress.org/extensions/datatables-counter-column/ which can add one dynamically using JavaScript.

    Regards,
    Tobias

    Thread Starter danniee001

    (@danniee001)

    Hi Tobias,

    Not sure I explained very well.

    On a page I will display my table like this:

    [table id=16 datatables_counter_column=true row_order=manual row_order_manual_order=1,49,67,40,32,2,12,13,3,8,24,25,28,53,68,69,6,5,7]

    So in the backend, if I make changes, for example remove row 67 and 40, then the list on that page will not be accurate anymore.

    I’m thinking for example if there is a way for row 67 and 40 to maintain their row numbers despite deleting and creating new rows?

    As it is now, I’m afraid to delete any rows because I have so many different pages displaying different rows from that one “mother table”.

    Hope I explained so you understand

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    ah, I see. No, sorry, there’s no way to maintain that row number which is used in this Shortcode parameter ?? Sorry.

    You might instead want to play with the Row Filter Extension from https://tablepress.org/extensions/row-filter/

    This can give you the same result set of rows by filtering a “keyword” (which could also be in a hidden column that is not visible to the visitor).

    Regards,
    Tobias

    Thread Starter danniee001

    (@danniee001)

    Ok! This is excellent! BUT, this means I lose the option to use the row_order_manual_order, right? Instead ordering must happen in the acp?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    correct. When using the Row Filter Extension, the values of that Shortcode parameter will not work. You would have to bring the rows into the desired order first.

    Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘SSL and Numbering’ is closed to new replies.