Forums / Cotonti / Extensions / Support / Page Archive outputs everything?

No matter the setting, all website pages are available in the archive.

Kort Online
#35666 2012-09-29 07:20

Plugin config is used in the plugin for global settings. It is more convenient to use it via callbacks with a specific set of options in each one. Check pagearchive.global.php for the callback parameters:

{PHP|pagearchive('blog','yearly','pagearchive.yearly','1','12','desc','podcasts','')}
  1. Output pages from the blog category
  2. Use 'yearly' mode
  3. Use pagearchive.yearly.tpl template
  4. 'Current year only' is on
  5. Limit to 12 items
  6. Desc sorting order
  7. Blacklist 'podcasts' category
  8. No items in the whitelist
SED.by - создание сайтов, разработка плагинов и тем для Котонти