cycleResources
cycleresources
About
A MODX snippet designed to cycle through resources in a container and provide a link to the next or previous resource.
This initial version will only link to resources at the same level.
Installation & 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`]]
------------------------------------------------------------------------------
At a glance
MODX 3 compatibility unknown. Based on our testing and community reports where available.
- Developer digitalpenguin
- Latest release June 2, 2015 (11 years ago)
- First seen in SiteDash May 28, 2015 (11 years ago)
- License GPLv2
- MODX support 2.2 – 2.3
- Databases MySQL
| Changelog | |||
|---|---|---|---|
| MODX.com |
1.0.0-pl |
June 2, 2015
11 years ago |
|
|
<p>First proper release. </p><p>Added nextResource and prevResource snippets.</p>
|
|||
|
No matching releases. |
|||