• Resolved sharonshero

    (@sharonshero)


    I cannot get the rows to combine 2 cells into one. Please reference the “Patron” section of the link I provided. These tables were created a few years ago, and now that I am updating, I can’t seem to get the #colspan# function to work. Can you provide a VISUAL on how to place or more explicit instruction? I keep having #colspan# replace the cell’s content rather than combining two cells into one.
    Thank you!

    The page I need help with: [log in to see the link]

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The #colspan# must go into the cell to the right of the one that you want to combine it with. In addition, there must not be anything else in that cell, not even line breaks — and that’s what happened in your case. Please remove the line break (from hitting the “Enter” key) after that #colspan#.

    Regards,
    Tobias

    Thread Starter sharonshero

    (@sharonshero)

    I’m not following you about line breaks. I’ve tried not hitting enter (if that’s what you mean) and just saved and all I get is #colspan# replacing the second name.

    So maybe this is a different issue? When I import my file I have first and second names in one column. When it is imported, Tablepress breaks it into two separate columns. Is that supposed to happen? I’ve called out that I wanted just one column but because there’s two words in the column, I still get 2 columns when it comes in.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    I think I now understand what you mean. Sorry for the confusion.
    You don’t want first and last name split into two columns so that this table will then only have one column, in total. And the table originally comes from an imported file that only has one column. Unfortunately, TablePress sometimes has trouble importing such a table, because it’s not finding one of the common column separator characters (usually a , or ;). It then wrongly uses the space character between the names as the separator character.

    So, to fix this, merging/combining cells will not help, as that serves other purposes. You will instead have to fix this manually, i.e. simply copy/paste the last names from the second column into the first column (after the first names). Then, you can delete the then-empty second and third columns.

    Regards,
    Tobias

    Thread Starter sharonshero

    (@sharonshero)

    OMG I thought I was losing my mind. Thank you for the insight. I hope at some point you can teach Tablepress how to do this! Your quick responses are really appreciated!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    And yes, I hope to be able to make TablePress more robust when importing tables with just one column!

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Combine 2 cells into 1’ is closed to new replies.