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,726
License
GPLv2

Previous Versions

More

More from Mark Hamstra

VersionX

Keeps track of your content and elements.

View
SiteDashClient

Powerful MODX monitoring and remote management.

View
ClientConfig

Manage client and theme settings from a comfortable interface.

View
C
CSRF Helper

Secures your FormIt and Login forms with CSRF tokens.

View