Help - Search - Members - Calendar
Full Version: build-a-blog tutorial- archives page
Codegrrl.com Forums > Script Help > Tutorial Help
awwyeah
On the build a blog tutorial, the archives page is set up by year. Can I change it to show the archives by month? Thanks!
Amelie
Yes, just use %M %Y instead of %Y in the code. You may find that this lists all the months alphabetically rather than chronologically - in which case see this post.

You will also need to change your archive display page so that instead of (int)$_GET['year'], you have htmlentities(strip_tags($_GET['month'])). smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.