Thread: Welcome screen
View Single Post
Old 07-01-2009, 07:28 AM  
Yil
Too much time...
 
Join Date: May 2005
Posts: 1,194
Default

mr.babek: I can confirm that it visually renders incorrectly. It's fixed in the next version. I've also added new optional args to the stats cookie to solve the section problem (%include doesn't let you specify a different section), but more importantly I've added a whole new cookie %[stats2] so you can just do %[stats2(alldn)] which is much simpler to display the whole thing correctly.

mrlexo: Do you have more than 1 section? %[Stats] cookie shows the stats for the section based upon the current path. Specify -1 for the 3rd argument to make it total across all sections. This is the default behavior in the next release so it acts the same as site stats command. If you wanted path specific behavior you can always use one of the section cookie identifiers as the 3rd argument. I haven't tested month up/down recently but the sorting logic hasn't changed in ages and it always appeared OK to me.
Yil is offline   Reply With Quote