XWiki - Open Source Wiki and Content-Oriented Application Platform » FAQ » HowdoIchangethearchivedateonthearchivepanel

HowdoIchangethearchivedateonthearchivepanel

Last modified by Dilipkumar Jadhav on 2010/01/30
Question How do I change the archive date on the archive panel?
Answer At present the archive panel prints year & months in "oldest at the top & newest at the bottom" format. To simply reverse the order & make the latest date on the top perform the following steps:

  1. Search for Blog.ArchivePanel page on your wiki
  2. Edit the page in inline mode
  3. Strictly look for this line that says -
#foreach($year in [$firstYear..$lastYear])

  1. Replace this line with -
#foreach($year in [$lastYear..$firstYear])
Tags:
Created by Janel Miller on 2009/12/31

Get Connected