Fork me on GitHub

"definition" module  Bottom

  • I am looking for a module that will work similar to Autolinks. I want to enter a list of keywords and a corresponding 'definition' and when the keyword is displayed anywhere, the definition would be displayed on mouse-hover.

    Make Sense?
  • Why not modify the autolinks module? Sounds like the concept is nearly the same - just return the text wrapped in an empty anchor with the ALT tag containing the definition. Then you could just use the autolinks - but provide EMPTY HREFS and an ALT for those needing to be definitions, and HREFS with ALT saying - VISIT: whatevertheurl for those you want to remain links.

    UHEweb
  • Check out the PostNuke homepage and look for the MultiHook module. Very cool.
  • Both really good ideas. I ventured the MultiHook theory first. This required an upgrade to 762, but no big deal. When all was done, i wasnt impressed. It was kinda what I want, but not totally. I then started poking around modifing the Autolinks module, and decided that I was getting over my head.

    What I am looking for, would be the same theory as the autolinks, but instead of just creating a link, maybe a mouse hover, javascript popup box, that can display any programmed HTML for that word?

    Basically, i need a way to display a short definition on the word, and a couple links to relevant documents.
  • Hmmm. You may want the OverLIB plugin, ported to PN by Mark West. Check out: http://www.markwest.me.uk/Article32.phtml

    Hope that helps. :)
  • Wendell, thats GREAT

    I am off to an awesome start with it. I have everything almost working perfectly, with only one exception.

    If I put a link in, say...

    Code

    <a href="http://reddocs">Reddocs</a>


    It turns it into:

    Code

    <a>Reddocs</a>


    Any input? Other than the link, its taken everything else I have thrown at it. If I edit the DB directly and put the link in, it works GREAT!!! I have even tested it with images icon_smile

    I suppose once its done, I might have to share with everyone huh? icon_wink
  • Interesting.... I was just messing with it some more.

    I am using HTMLArea 3.0 beta as my data entry box. It seems that maybe this is stripping the 'href' out. If I leave it in 'code view' mode, and submit, it stays just fine.

This list is based on users active over the last 60 minutes.