ListIndexer
Votes: 23
Tags:
Submitted: Aug 1, 2008
Released: Aug 1, 2008
Downloads: 251
License: GPL - GNU Public
Package Website
ListIndexer
Works with the following Version(s):
This snippet was designed to be a VERY flexible way
of showing what has been recently added. Now includes date format, and string length options via snippet call.
Download
- repo-2136.zip (251 downloads)
Description
This snippet was designed to be a VERY flexible way
of showing what has been recently added. You can use
this snippet to show news from one folder, or what has
been recently added site wide. You can even show what's
new in a 'section' (everything under a defined folder)!
As of version 1.0.2
LIn_dateFormat: the date format can be configured via the snippet call using standard PHP date options.
LIn_titleLength: the number of characters returned via the snippet in the Title is now configurable.
LIn_descriptionLength: the number of characters returned via the snippet in the Description is now configurable
Instructions
-unzip listIndexer.zip
-in the modx manager, go to resources/manage resources
-go to snippet tab and click "new snippet"
-then copy/paste the content of listIndexer.php in the snippet code textarea



