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
Supported Database
MySQL
Downloads
3,089
License
GPLv2

Instructions

Install via Package Management.

The snippet code may be available from the forum - all you need to do is copy/paste the snippet code into a new snippet named "sLink" and you're good to go.

More

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

CC

ClientConfig

Manage client and theme settings from a comfortable interface.

Al

Alpacka

Base service class and set of utilities for extras by modmore.

CS

CSRF Helper

Secures your FormIt and Login forms with CSRF tokens.

DP

DailyPhoto

Show a fresh new photo on your MODX3 login screen every day.