I am trying to use Archivist for the first time but the getArchives page is returning an array.
The archive navigation itself is working (and thanks to Gadgetto's post above I have it grouped by year) but my output when I select an archive is as follows:
November 2012 Archives
Array
(
[tpl] =>
[tplOdd] =>
[tplFirst] =>
[tplLast] =>
[sortby] => publishedon
[sortbyTV] =>
[sortbyTVType] => string
[sortbyAlias] =>
[sortbyEscaped] => 0
[sortdir] => DESC
[sortdirTV] => DESC
[limit] => 5
[offset] => 0
[tvFilters] =>
[tvFiltersAndDelimiter] => ,
[tvFiltersOrDelimiter] => ||
[depth] => 10
[parents] => 22
[includeContent] =>
[includeTVs] =>
[includeTVList] =>
[showHidden] => 1
[showUnpublished] =>
[showDeleted] =>
[resources] =>
[processTVs] =>
[processTVList] =>
[prepareTVs] => 1
[prepareTVList] =>
[tvPrefix] => tv.
[idx] => 1
[first] => 1
[last] => 1
[toPlaceholder] => archives
[toSeparatePlaceholders] =>
[debug] =>
[where] => ["FROM_UNIXTIME(`publishedon`,\"%Y\") = \"2012\"","FROM_UNIXTIME(`publishedon`,\"%m\") = \"11\""]
[dbCacheFlag] => 0
[context] =>
[tplCondition] =>
[tplOperator] => ==
[conditionalTpls] =>
[filterField] => publishedon
[filterPrefix] => arc_
[tagKey] => tags
[tagKeyVar] => key
[tagRequestParam] => tag
[tagSearchType] => contains
[odd] => 1
[id] => 253
[type] => document
[contentType] => text/html
[pagetitle] => A Whole New Look Appassionata online & live in the shop
[longtitle] => Just in time for you at Christmas
[description] =>
[alias] => a-whole-new-look-appassionata-online-and-live-in-the-shop
[link_attributes] =>
[published] => 1
[pub_date] => 0
[unpub_date] => 0
[parent] => 22
[isfolder] =>
[introtext] => And so it is Christmas....
[richtext] => 1
[template] => 11
[menuindex] => 3
[searchable] => 1
[cacheable] => 1
[createdby] => 1
[createdon] => 2012-11-28 04:28:40
[editedby] => 1
[editedon] => 2012-11-28 04:28:52
[deleted] =>
[deletedon] => 0
[deletedby] => 0
[publishedon] => 2012-11-28 10:28:00
[publishedby] => 1
[menutitle] =>
[donthit] =>
[privateweb] =>
[privatemgr] =>
[content_dispo] => 0
[hidemenu] => 1
[class_key] => modDocument
[context_key] => web
[content_type] => 1
[uri] => a-whole-new-look-appassionata-online-and-live-in-the-shop.html
[uri_override] => 0
[hide_children_in_tree] => 0
[show_in_tree] => 1
[properties] =>
)
My call is:
[[!getArchives?
&parents=`22`
&toPlaceholder=`archives`
&showHidden=`1`
]]
<h2>[[+arc_month_name]] [[+arc_year]] Archives</h2>
[[+archives]]
If I add &tpl=`newsArchiveTpl` into the getArchives call, I get:
()
Any idea what I'm doing wrong? Thanks!