• When I import a table that has items with links to webpages, the links disappear. Is there a way to import a table and keep the links intact? Otherwise I have to manually redo all the links.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,

    can you explain what exactly you have in the cells? Just the plain URL, or the HTML code for a hyperlink already?

    If you just have the plain URL, this is expected, as links need to be in HTML code. You can however use a Plugin Extension to automatically convert all URLs to clickable links automatically, see http://tobias.baethge.com/2009/12/extension-1-url-to-link-conversion/

    Regards,
    Tobias

    Thread Starter pflagdad

    (@pflagdad)

    Thanks Tobias. They are all URLs. (here’s one of the tables as an example: http://www.fortunatefamilies.com/regionalparishministries.htm
    I’ll check your conversion note to see if I can do it. I’m actually helping the person doing our new website, but trying to use the opportunity to learn WP.

    FYI: I did use the ‘create a link’ function for earlier tables to create email (had to type in “mailto:” over the default “http://”) and document links – but for some reason after clicking OK at the end of the link creation process, when I clicked in the appropriate ‘box’ where I wanted the link, no matter where I clicked the link appeared at the end of the existing text? So I just copied the final html that was created and closed the final box. Then I could insert it anywhere I wanted.

    thanks again for the speedy response and information.
    Michael (pflagdad)

    Thread Starter pflagdad

    (@pflagdad)

    Hi,

    thanks for the example. Now, in that table, it looks like that the links are already full links, i.e. they have a URL in “href” parameter and a link text already?!
    This means that in the import file, these are already more than just plain URLs?!
    What do they look like in the import file (when opened with a text editor)?

    Regarding the “Insert Link” button: Yes, for email links, you have to change http:// to mailto: (because that’s how email links have to be done in web browsers). It is also correct that the link is added at the end of the text in the cell. The reason basically is that the technical procedure (specific JavaScript code) that this feature uses does not know where in a cell you clicked, but only that you clicked it. Moving the HTML to the correct place manually is therefore necessary…

    Best wishes,
    Tobias

    Thread Starter pflagdad

    (@pflagdad)

    Tobias,
    Sorry for the delay in responding. The links are not in the ‘href’ format. They are basic ‘http://’ e.g. the first one is: http://www.dignityusa.org/chapter_map I’ve sent the link you gave me for the plugin extension to the site designer. Hopefully he can integrate it and I can import the table again with the links.

    Thanks again,
    Michael

    Hi,

    ok, if they are plain URLs, that Extension will indeed work and make them clickable.

    Best wishes,
    Tobias

    Thread Starter pflagdad

    (@pflagdad)

    Tobias,
    Sorry for my lack of knowledge on all this.. After reading your page on the conversion extension I believe I may have mislead you. In the current table are text titles for the organizations (e.g. Dignity USA) with the text hyperlinked to the page. So when I imported the table, the text came across but not the hyperlinks. However if I read your page correctly, what has to be in the table are the URLs (www.xxx.com) which would then be hyperlinked by your conversion code. Right? If so, then we’ve just got to grind through linking each text title to the URL.

    ….Michael

    Hi Michael,

    thanks for the description.

    If only the text made it through the import, this likely means that the URLs were never exported (but only the link texts).

    And you are correct on how that Extension works. From your description, I don’t think that it is what you need though. You will probably want to re-create your links using the “Insert Link” button (below the table input fields), which will ask you for the link text and URL.

    Regards,
    Tobias

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Import table with links intact’ is closed to new replies.