MODX EXTRA

sLink

Creator: Mark Hamstra (markh)

1.0.0-rc1 (3 KB) Other Versions

About sLink

sLink is a simple snippet that can be used to generate xhtml markup links / anchors in your resource. sLink takes several parameters and can grab data from a resource specified, or use simple strings for the title and link text

Version 1.0-rc is the initial release for this snippet and uses the following parameters:

 * &to - document ID or url to link to [required]  * &title - resource field (for resources) or string to use for the title (hover text)  *   [pagetitle|menutitle|longtitle|introtext|description|custom string] [default: longtitle]  * &link - resource field (for resources) or string to use for the link text  *   [pagetitle|menutitle|longtitle|introtext|description|custom string] [default: menutitle]  * &name - value for name attribute, used to create in-page anchors [optional]  * &class - value for the class attribute for css [optional]  * &debug - debugging level:  *   0: off (error means no output)  *   1: on, showing the amount of errors only (default)  *   2: advanced, shows the error information as well as parameter values

Information

Released
October 25, 2010
Supported Versions
2.0 – Current
Downloads
2,810
License
GPLv2

New in sLink 1.0-rc

There are no release notes for this version.

More

Current Releases

1.0.0-rc2
October 22, 2010
2.0 – Current
More
View Deprecated Releases

More from Mark Hamstra

VX

VersionX

Keeps track of your content and elements.

SD

SiteDashClient

Powerful MODX monitoring and remote management.

CC

ClientConfig

Manage client and theme settings from a comfortable interface.

CS

CSRF Helper

Secures your FormIt and Login forms with CSRF tokens.