Package Description
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
Usage/Installation Instructions
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
Details
- Developer(s)
- elastic
- Released
- 2009-06-25
- First seen
- 2009-06-18
- License
- GPLv3
- Supported databases
- MySQL
- Minimum MODX Requirement
- 2
Xternalinks Releases
Vendor | Signature | Released on |
---|---|---|
MODX.com | 1.1 | 2009-06-25 (15 years ago) |