Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question.

    Adding links is possible by either typing the HTML code for a link manually, or by simply using the “Insert Link” button below the table edit fields. You will then be asked for the URL and link text, and the link HTML will be created for you.

    Regards,
    Tobias

    Hi

    I’m trying to figure out how I can make an entire cell hyperlinked – i.e. if you click anywhere in the cell, it will link out. I think you do this in HTML by wrapping the <td> tags in an anchor href tag. I can’t see how to do it in TablePress though.

    Thanks

    Ian

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi Ian,

    Sorry for the late answer. As I was on vacation, I didn’t have a chance to reply earlier.

    That’s not possible that easily, as only links are clickable by default, while table cells are not. That’s just how browsers work.
    Now, you could try to use some JavaScript code, that will listen to clicks on a cell and then trigger the click on the link in the cell. I suggest that you use the jQuery JavaScript library here, for which you can find a nice tutorial at https://jqfundamentals.com/

    Regards,
    Tobias

    Thanks! I managed a work-around by filling the cell with text (not ideal, but it kinda works).

    If I get some free time, I’ll take a look at the JS approach.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    that’s great news! ?? Nice to hear that you found a workaround in the meantime!

    Best wishes,
    Tobias

    Hello,

    I would use the “insert link” button but i have this message: “Please click into the cell you want to have the link to…”… i did

    1. I fill-in my cell with the texte I want
    2. I keep my mouse in the same cell and click “insert a link”
    3. I receive this message

    What can I do?

    thanks

    I just found…

    It’s:

    1. I fill-in my cell
    2. I go out from the table content
    3. I click on “insert a link”
    4. I choose the cell I want the link into.

    Thank you

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    yes, you just have to click into the desired cell after clicking the “Insert Link” button ??

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

    Hi,
    Thanks for the great plugin.
    I would like to ask if it is possible to import data from an xlsx file that cells contain text hyperlinked to a web site. I managed to import data from the xlsx file but it seems that the hyperlinks are not transferred.

    Thanks.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    No, right now, that’s not possible with the XLSX import, sorry. The Excel import is very basic and it can not detect links yet.
    The best way to do this should therefore be to use a macro in Excel that rewrites the links to HTML as briefly described here: https://www.ads-software.com/support/topic/hyperlinks-in-cells
    With that, you could then export the table to CSV and import that, including the links (as HTML code).
    Unfortunately, I have never used this before and I’m not an Excel expert, so I won’t be able to help with that code.

    Regards,
    Tobias

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Add link in TablePress tables’ is closed to new replies.