Downloads » Resources » TooltipX » TooltipX | Extras » tooltipXWordReplace

tooltipXWordReplace

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
5 vote(s).

replaces words and creates a tooltipX valid tag

Works with MODx Version(s): All
Submitted: Mar 21st 2007 | License: Public Domain | Downloads: 554

Description

// This script replaces words for tags that tooltipX uses to generate the ballons.
// its just a beta script but it works for me, be careful, it replaces all the words in the complete page zo also the menu item names etc.
// use this as config: &words=Words;string;word1|word2|word3 &balloontext=BalloonText;string;word1:this replaces the first word:http://www.1-vision.nl|word2:so this is the text for word2:|Pascal:the scriptmaster:http://www.spinsiteservice.nl
// Set the OnWebPagePrerender event for this plugin to work
//
// make sure that you change the plugin sequence order that this plugin gets run before the tooltipX plugin.
//
// separate the words by a | and do the same with the balloontext string, the balloontext should be formatted as this: Word that gets the hover:text to appear in the balloon:link including http:// if no link is set you still need the : on the end for the
// tag to be valid for tooltipX.
// This only works if TooltipX is configured as: &onlyTips=Only tips;int;1
// Made by Dimitri Hilvera
// Thanks to Pascal(scriptMaster) for the help on my ideas, you rule.

Instructions

See Description


( back to top )