Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • chartinael,

    Noticed a bug … if you link to anything and the link text contains glossary term, glossary tries to link term anyhow.

    I presume you’d need some sort of exclusion when parsing hrefs.

    Do you have an example of this bug in action?

    Do you mean that if you have a glossary term “apples” and you have the following code on your page:
    <a href="www.example.com/apples.html">
    That it is trying to link that instance of “apples”?

    Hmmm…interesting problem…

    KevBryant,

    No, it does not put any links in widget text. The program was not designed to put the links into widget text. It only works on the post or page body.

    As stated above, if your html code is not xHTML compliant, the plugin won’t work. Your tables might not be xHTML compliant. Do you have an example page I can look at?

    I just had an additional thought.

    Are you getting any php errors or warnings on the blog posts that the glossary isn’t working on? I ask, because I’ve discovered that if you don’t have perfectly valid html in your post content (including properly “closing” any <br /> and <img /> tags) then the glossary won’t work. The script puts out a warning and skips the glossary stuff. The script is especially picky if you are using php 5, because it’s using the XML Dom functions that only work with valid XML markup.

    Because it’s just a php warning, if you have error reporting set to not display to the public (like a good boy…) then you wouldn’t even know the error was thrown.

    That might be what’s going on in your case. Do you have a sample page I can go look at to see if that might be what’s going on.

    I’m sorry you’re having some problems.

    What version of PHP are you using? Is there a site I can see your problem on?

    I just tested it with the same settings you have:

    Only show glossary on single pages = 0(No)
    Show on Pages = 1(Yes)

    On my site https://www.alaskaedu.net and it worked as expected.

    If you change the settings to:

    Only show glossary on single pages = 1(Yes)
    Show on Pages = 1(Yes)

    do you have the same issue?

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