• Resolved marmitako

    (@marmitako)


    I have, at now but increasing, 51 tables of 6 colums and 5 rows. In all tables, in differents cells, allways the same cells, I want that when hover over the cell show information with a tooltip (in cell 1, tooltip 1; in cell 2, tooltip 2, etc, etc) so in all tables.
    I have read the treath https://wordpress.org/support/topic/looking-for-hovertool-tip-plugin-to-work-with-tablepress/ and I understood the code but I have a lot of doubts, especially one.
    You already taught me in your day how to write extra css code but
    it’s necessary write the “info-box” text in each cell?
    If this is the case, it will involve me writing 200 info-boxes for now.
    Can you explain me how to simplify the work? Is there a way?
    Best regards
    Héctor Ugalde, from Catalonia

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Yes, the “info-box” part of the code needs to be in every cell that should have a tooltip. I’m not aware of other ways to speed this up, sorry.

    Regards,
    Tobias

    Thread Starter marmitako

    (@marmitako)

    I’m sorry.

    I have a table group defined in extra CSS classes section as I show you in this image.
    https://photos.app.goo.gl/JXw1dZsYwsaTHXTs8
    I have copied your CSS code in the custom css section, as I show you in this image.
    https://photos.app.goo.gl/Cu5Bo5kaiQerDrVh6
    As table id I have indicated the group of tables created in the extra css classes section,
    Then I have included in a cell of a table the html code as I show you in this last image.
    https://photos.app.goo.gl/pxB6oQSmATMJeant5
    It does not work for me.
    Can you tell me what I do wrong?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    this is hard to say. Everything looks correct here…

    Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter marmitako

    (@marmitako)

    Thanks, Tobias.
    The URL page is

    https://reptesmuntanyencs.cat/puig-rodo/

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks, the problem here are some weird HTML elements from Elementor (in your theme), which are invisibly floating above your table. This seems to be from the two columns that your page has, to show the two tables next to each other. My guess is that this happens because the tables are not 50% width each (but the Elementor elements on the page are).

    Regards,
    Tobias

    Thread Starter marmitako

    (@marmitako)

    Oh yeah! Thanks Tobias. What you say is true. If I delete the second table, the tooltip is visible. Now it works fine.
    You are a genious.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

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

    Note that you don’t necessarily have to remove it, they would just have to be the same size, as per the way how those Elementor columns seem to work.

    Best wishes,
    Tobias

    sir, how do you disable links on tablepress? not the one who edited the link.

    I mean, when I import a file that has a link, the link follows. I want the links on tablepress to be inactive.

    for example

    how rather does a href become inactive?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I don’t really understand. You have links but don’t want links? Then, you have to change the HTML code to just text, e.g. change

    <a href="https://example.com/">Link text</a>
    

    to

    Link text
    

    As you can see, the <a href=...> and </a> need to be removed.

    Regards,
    Tobias

    P.S.: Next time, please open a new thread here in the forums, instead of just posting in an existing one. Thanks!

    Can you add a menu to the auto import table extension? for example there is a filter link import yes or no. because editing tables takes a long time because there are lots of webs

    thanks

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no, sorry, it’s not possible for me to add such an option at this time.
    Your other option could be to develop a custom intermediate script that removes all links, but I can’t help with that, sorry.

    Regards,
    Tobias

    I have disabled it via JS and CSS. it’s just that on ctrl u it still exists. and can be beneficial because detected backlinks.

    Can it not be turned off via function.php? link on tablepress?

    thanks

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    you could maybe use custom PHP code in your theme’s “functions.php” and on display remove the links, by hooking into a plugin filter hook like tablepress_cell_content. Unfortunately, I don’t have an example here, sorry.

    Regards,
    Tobias

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Tooltip’ is closed to new replies.