cycleResources

Creator: Murray Wood (digitalpenguin)

Need help installing this extra?

About cycleResources

A MODX extra for generating links to the next and previous resources in the same container.

Perfect for portfolio sites.

Information

Released
June 2, 2015

Supported Database
MySQL

License
GPLv2

Supported Versions
2.2 - <2.3

Downloads
824

Instructions

USAGE

The newest and easiest way is to simply call [[nextResource]] for the next resource and [[prevResource]] from the previous resource.

Use [[nextResource? &tpl=myCustomTplChunk]] to specify your own chunk for formatting.

------------------------------------------------------------------------------

For backwards compatibility, the [[cycleResources]] snippet is also included.

To use the default template, and provide the "next" resource use: [[cycleResources]]

To use your own chunk for the template: [[cycleResources? &tpl=myCustomTplChunk]]

If you want the generated link to be for the "previous" resource instead of the next:[[cycleResources? &reverse=1]]

------------------------------------------------------------------------------

New in 1.0.0-pl

First proper release.

Added nextResource and prevResource snippets.

Current releases

1.0.0-pl
View | Download
June 2, 2015
2.2 - <2.3