News Styles: Archives

Discuss news styles, css code, and other Coranto customizations in here...the possibilities are endless, so have at it!

Moderator: Spunkmeyer

News Styles: Archives

Postby MariahC » Sun Nov 03, 2002 7:07 pm

Hey,

I am wondering how the news style would go if my archive looked like this:

November
Wednesday, 12th
Thursday, 13th

December
Wednesday, 14th
Friday, 16th

etc...

Basically I need to know how to get the name of the month above each block of daily archives for that month :) I am guessing it will involve something with <If IsNewMonth> blah blah but I'm not sure. Tks!
MariahC
 
Posts: 19
Joined: Wed Jun 26, 2002 3:24 pm

Postby kriko » Sun Nov 03, 2002 7:25 pm

there is one subrutine for coranto, that is isnewdate, there isn't isnewmonth (sorry about the caps&stuff).

Anyway. umm.

Just a idea, dividing them with numbers 30 or 31 or 28 depending on the month and year. and so on.

but if you divide the newstime of every submission and divide the newstime to month. and then checking if next submission is with the same month or not.
Kristjan aka. kriko
now a wireless expert
User avatar
kriko
 
Posts: 3328
Joined: Sat Feb 24, 2007 8:13 pm


Return to Customization

Who is online

Users browsing this forum: No registered users and 2 guests

cron