S

sLink

By Mark Hamstra (markh)


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

Mark Hamstra


New in sLink 1.0-rc

There are no release notes for this version.

More

Information

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

More from Mark Hamstra

C
CSRF Helper

Secures your FormIt and Login forms with CSRF tokens.

View
SiteDashClient

Powerful MODX monitoring and remote management.

View
VersionX

VersionX is a utility tool for MODX Revolution that will help you…

View
ClientConfig

ClientConfig gives your client a user-friendly interface for making…

View