• Resolved rvaneerd

    (@rvaneerd)


    Hi,

    I’m trying to work something out that with TablePress.
    I know I could solve this with PHP / MySQL but I’m wondering whether this would be possible in TablePress.
    On the page referenced by the link, I’m listing our club’s members and if they have a Portfolio, a link is listed.
    Our members would like to click on their names if a link exists (in another cell) to open up their portfolio.
    On top of that I’d like to have that page opened in another tab of the browser if the portfolio is not hosted within our WordPress site.

    With the plugins configured and the additional column with the URL to the portfolio I can manage to have the portfolio sites open in another tab but not for the “local portfolios” to open within the same tab.

    On another WordPress site I managed to deal with this using “SiteOrigin buttons” but that again is hard coded and not with the data from a TablePress table.

    Is it possible to achieve what I described above?

    Regards,
    Rob.

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

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Unfortunately, I’m not aware of a quickly usable automatic solution here. Your best chance would be to simply use the “Insert Link” button below the table input fields. With that, you can create the links, with the names as the link text and the corresponding URLs. If you choose “New window” there, it will add the target="_blank" HTML attribute to the link HTML so that you can open external links in a new window (even though this is discouraged by web accessibility experts).

    Regards,
    Tobias

    Thread Starter rvaneerd

    (@rvaneerd)

    Thanks Tobias.

    That might work for now.
    Technically it works but I’m not sure how our club members will feel about this “solution”.

    Regards,
    Rob.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Rob,

    are your club members editing the table themselves? If so, I agree that this is not too nice. Unfortunately, I can’t think of another solution right now, sorry.

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘TablePress: How to create a cell with a link if one exists in another cell’ is closed to new replies.