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?
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
"definition" module
-
- Rank: Registered User
- Registered: Dec 16, 2004
- Last visit: Jan 15, 2008
- Posts: 29
-
- Rank: Helper
- Registered: Sep 16, 2004
- Last visit: Oct 21, 2009
- Posts: 731
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 -
**unknown user**
- Rank: Expert
- Registered: Mar 16, 2002
- Last visit: Apr 02, 2010
- Posts: 1208
Check out the PostNuke homepage and look for the MultiHook module. Very cool. -
- Rank: Registered User
- Registered: Dec 16, 2004
- Last visit: Jan 15, 2008
- Posts: 29
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. -
**unknown user**
- Rank: Expert
- Registered: Mar 16, 2002
- Last visit: Apr 02, 2010
- Posts: 1208
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. :) -
- Rank: Registered User
- Registered: Dec 16, 2004
- Last visit: Jan 15, 2008
- Posts: 29
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
I suppose once its done, I might have to share with everyone huh?
-
- Rank: Registered User
- Registered: Dec 16, 2004
- Last visit: Jan 15, 2008
- Posts: 29
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.
- Moderated by:
- Support
