Xternalinks

xternalinks

  • By elastic
  • Latest release June 25, 2009 (17 years ago)

About

Automatically add a specific css class to a link according to a part of this link.
Add an "external" generic css class to http links without attributed classes
FTP and HTTPS supported
Custom protocol support
File extensions support

Installation & usage

After installation you will have 6 parameters :

  • Sites : domains or part of an http links that you want to add a specific css class
    Exemple : www.modxcms.com->modxcmscomclass||modxhost->modxhostclass||modxcms.fr->modxcmsfrclass
    Will add "modxcmscomclass" css class to all http://www.modxcms.com links
    Will add "modxhostclass" css class to all links like http://www.modxhost.com/net/org.. or http://modxhost.com/net/org..
    Will add "modxcmsfrclass" css class to links like http://www.modxcms.fr or http://modxcms.fr
  • Generic external links css class : css class for http links not in Sites parameter (default = external)
  • Internal links css class : css class for no http, https, ftp or custom links i.e :<a href="index.php?id=1>" (default= internal)
  • HTTPS css class : css class for https links (default= httpsXternal)
  • FTP css class : css class for ftp links (default= ftpXternal)
  • Custom protocol : here you can associate a css class to protocols not http, https, ftp links
    The system is base on the 5 first char after href="
    Exemple : if you want to add the "jsclass" css class to links like <a href="javascript:myjsfunction()">link</a>
    put javas->jsclass for this parameter, and use || to separate each custom protocols
  • File extensions : here you can associate a css class to file extensions

At a glance

MODX 3 compatibility unknown. Based on our testing and community reports where available.

  • Developer elastic
  • Latest release June 25, 2009 (17 years ago)
  • First seen in SiteDash June 18, 2009 (17 years ago)
  • License GPLv3
  • MODX support 2+
  • Databases MySQL

Releases 1 indexed release

Changelog
MODX.com

1.1

June 25, 2009

17 years ago

—