Now that you have constructed the templates for you archives lists, all there is left to do is display them on your "Archives list page" template.
This template can be accessed by going to "Layout" -> "Edit default templates" -> "Archivelist page template" from the control menu. Your archives lists can be
displayed on this page using the following variables:
- The Date Grouping list : !!archiveslist!!
- The Entries list : !!entrieslist!!
- The Month Grouping list : !!monthlist!!
- The Categories list : !!categorieslist!!
Here is a very basic example of what you could type in your "Archives list page" template: |
Archiving by author
It is also possible to create archives lists on a per-author basis for all these lists, except for the categories list. This means that, for example, the entries list will only include entries posted by a given
author. In order to do so, you will simply need to add _authorname behind the list's variable.
Let's take the !!entrieslist!! variable as an example. As you probably know, typing this variable on your "Archives list"
page will display a list of the most recent entries posted on your journal by any author. Now let's assume you have a group-journal, and you want this list to
include only the entries posted by a given author, whose author-name is, let's say, harry.
All you have to do is replace !!entrieslist!! with !!entrieslist_harry!!. It's as simple as that!
The same goes for the other two variables: !!archiveslist_harry!! will include Harry's entries only, as will
!!monthlist_harry!!. |