• MODX.com

    2,566 downloads

sLink

sLink is an extra by markh, first released on 2010-10-21.

Package Description

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

Usage/Installation 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.

Details

Developer(s)
markh
Released
2010-10-25
First seen
2010-10-21
License
GPLv2
Supported databases
MySQL
Minimum MODX Requirement
2

sLink Releases

Vendor Signature Released on
MODX.com 1.0-rc1 2010-10-25 (8 years ago)

We've also seen 1 unverified versions of sLink in use, but don't list those as we've been unable of confirming they are official releases from an official source.