 |
 |
 |
 |
 |
| Author |
Message |
dirtyoldgoat
Joined: 26 Apr 2006 Posts: 2
|
|
Great Script and a Question |
|
First off, great script! It had a lot of features and customization that I found a lot more appealing than the original CuteNews.
My question:
Is it possible to use the cn_archives() function to display the archives in a week by week format? For example:
January 2006
- Week 1 (23 articles)
- Week 2 (15 articles)
- Week 3 (10 articles)
- Week 4 (15 articles)
February 2006
- Week 1 (20 articles)
And so on...
|
|
| Wed Apr 26, 2006 6:04 am |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
Ramon
Joined: 12 Oct 2005 Posts: 462 Location: Hoogeveen, NL |
|
|
|
I think this can't be done, a month has more than 4 weeks and PHP doesn't have a function that splits a month into weeks..
You can use it as the following:
 |  | 2006
Week 1
Week 2
Week 3
Week 4
Week 5
Week 6
Week 7
etc. |
|
|
| Wed Apr 26, 2006 2:16 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|
 |
 |
 |
|