• Resolved mikaello

    (@mikaello)


    Hi,

    great plugin ?? Is it possible to do internal linking? E.g. in a name called “Mazda”, I write “see car”, but then I would like to make “car” a hyperlink to the name “Car”.

    Mazda
    see car <– make car internal hyperlink

    Car
    a vehicle typically having four wheels

    Regards,
    Mikael

    https://www.ads-software.com/plugins/name-directory/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    hi Mikeal,

    it’s not possible as a feature at this moment, but what I did do earlier is create <a name>-anchors. I’m not sure how technical you are, but if you look at the source you will see something like <a name="namedirectory_Car">.

    The descriptions support HTML, so if the HTML in the description is like this code, you’ll achieve what you want:

    See <a href="#namedirectory_Car">car</a>

    I know it’s not ideal (for the moment), but I hope this example is useful for you.

    Please let me know if this works out for you.

    Thread Starter mikaello

    (@mikaello)

    That works, thank you ??

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Great to hear!

    lshr

    (@lshr)

    Hello,

    Great plugin!

    I am working on a glossary for my company, and there is a lot of internal linking between the names — there refer to each other often. So a way of easily linking a term used in one name to a different name would be really helpful. Essential, really.

    For now I am going to try to make the anchors work, but to really make your plugin work for a glossary, I think this is an important feature.

    Thanks!

    lshr

    (@lshr)

    Hello again,

    I can’t seem to get the <h href> to find the name to link to.

    Can you describe what makes up this:

    car

    Is #namedirectory the name of the plugin, or the directory?
    If it is the directory, is the the title of the directory?

    Is _Car the name within the directory that I want to link to? Do capitals matter?

    Here is the URL I am getting when I click on the link in the glossary.

    https://kamadoworks.com/research/the-basics/the-kamado-glossary/?name_directory_startswith=R#namedirectory_Ceramic

    Thanks again!

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Hi Ishr,

    first of all thank you for using my plugin!

    Capitals are used in the internal linking, I’m not sure if browsers require them.

    If you have a name like Refractory, you can use a link to link <a href="#namedirectory_Refractory"></a>

    Every entry gets the same prefix, #namedirectory_. It strips spaces, as they are not really compatible with url’s and linking with anchors. They are stripped from the names.

    So if you have an entry Refractory Ceramic, the anchor will be #namedirectory_RefractoryCeramic.

    If you want to, you can also open up the sourcecode of your webpage, and search for <a name="namedirectory_, this will get you every anchor on the page ??

    Hope this helps.

    lshr

    (@lshr)

    Hey Jeroen,

    I am missing something. I enter text in name, and when I click on “text”, I get a long url that is not right.

    https://kamadoworks.com/research/the-basics/the-kamado-glossary/?name_directory_startswith=R#namedirectory_Ceramic

    Where am I picking up /?name_directory_startswith=R?

    But in a different name, I use text it works fine.

    What am I doing wrong?

    Thanks!

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Hi Ishr,

    an anchor is related to the page it’s on. So if you create an anchor that’s only says <a href='#test'>test</a> it should go on this page (the one you are viewing), to anchor #test

    If you do not want that, you can supply the full url.

    So instead of linking to <a href='#namedirectory_Navi'>Navi</a> you can link to <a href='https://www.parkietenvilla.nl/namenlijst/#namedirectory_Navi'>Navi</a> and you should jump right to the correct name.

    Test it here

    This is part of the way HTML works in your browser. Is it clearer for you now?

    lshr

    (@lshr)

    That did it. I added my glossary URL before the anchor and it works. I should have known that.

    Thanks.

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Glad you resolved it ??
    If you have a spare moment after getting things up and running, would you please leave a review about the plugin? I’m especially interested in wat the users think of the management/admin panel

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Also, I will be updating the FAQ with information about internal linking (and how it works for now)

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Internal linking (relative linking inside name directory)’ is closed to new replies.