What is Archivist?¶
Archivist is an archive navigation Extra for MODX Revolution. It allows for wordpress-style navigation of Resources, as well as month/year/day archive listing and automatic FURL generation.
If you are looking to create a blog, check out Articles. It includes Archivist in an easy to use form.
- MODX Revolution 2.0.0-RC-2 or later
- PHP5 or later
- Extension requirements may call for FURL use and ".html" be changed to "/" : Content -> Content Types -> HTML (.html) -> /
Archivist was written by Shaun McCormick as a wordpress-style archiving component, and first released on June 3rd, 2010.
Development and Bug Reporting¶
Archivist is stored and developed in GitHub, and can be found here:http://github.com/splittingred/Archivist
Bugs can be filed here: http://tracker.modx.com/projects/archivist
Archivist has 2 snippets - one to display the month/year/day listing ("Archivist"), and the other to display archive results ("getArchives").
Display archives for your site, with a Month listing for Resources with parents 54 and 55, and then on a Resource ID of 123, display the Resources for that month.
The call for the Month listing:
[[!Archivist? &parents=`54,55` &target=`123`]]
And then on your archives page:
[[!getArchives? &parents=`54,55` &toPlaceholder=`archives` ]] <h2>[[!+arc_month_name]] [[!+arc_year]] Archives</h2> [[!+archives]]